stdarg.h vs varargs.h

 

 

/* add by gxdeng, 20110628, reason: varargs.h in need, else there would be warnings*/ #ifdef HAVE_STDARG_H #include <stdarg.h> #elif defined (HAVE_VARARGS_H) #include <varargs.h> #endif /* HAVE_STDARG_H */

 

 

#if HAVE_STDARG_H void DEBUGP (const char *, ...); #else /* add by gxdeng, 20110628, reason:va_alist defined in varargs.h, should defined HAVE_VARARGS_H */ #ifdef HAVE_VARARGS_H void DEBUGP (va_alist); #endif #endif

你可能感兴趣的:(stdarg.h vs varargs.h)