00001 /* 00002 * Copyright (c) 2005-2012 by KoanLogic s.r.l. - All rights reserved. 00003 */ 00004 #ifndef _LIBU_VA_H_ 00005 #define _LIBU_VA_H_ 00006 #include <u/libu_conf.h> 00007 00008 #if defined(va_copy) 00009 /* C99 va_copy */ 00010 #define u_va_copy(a, b) va_copy(a, b) 00011 #elif defined(__va_copy) 00012 /* GNU libc va_copy replacement */ 00013 #define u_va_copy(a, b) __va_copy(a, b) 00014 #else 00015 #error "va_copy is not defined" 00016 #endif 00017 00018 #endif