Changeset 1790


Ignore:
Timestamp:
Jul 6, 2007, 3:34:38 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Allow to use debug() everywhere in the code; it'll just do nothing in zzuf itself, and will only output stuff in the library.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/debug.h

    r1523 r1790  
    2020       __attribute__((__format__(__printf__, 1, 2)));
    2121
    22 #define debug _zz_debug
     22#ifdef LIBZZUF
     23#   define debug _zz_debug
     24#else
     25#   define debug(...)
     26#endif
    2327
Note: See TracChangeset for help on using the changeset viewer.