1
0
Fork 0
forked from len0rd/rockbox

Changed from gcc extension to C99 varargs macros

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@576 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-14 13:16:28 +00:00
parent 28bdaca814
commit e6564e2005

View file

@ -23,12 +23,11 @@ extern void debugf(char* fmt,...);
#ifdef __GNUC__ #ifdef __GNUC__
/* GCC handles ellipses in macros, which /* */
means we can avoid the call completely */
#ifdef DEBUG #ifdef DEBUG
#define DEBUGF(fmt,args...) debugf(fmt, ## args) #define DEBUGF(...) debugf(__VA_ARGS__)
#else #else
#define DEBUGF(fmt,args...) #define DEBUGF(...)
#endif #endif
#else #else