diff options
Diffstat (limited to 'iemnet.h')
-rw-r--r-- | iemnet.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -235,6 +235,11 @@ int iemnet__register(const char*name); * \brief debug output * \note this will only take effect if DEBUG is not undefined */ + +#ifdef DEBUG +# define IEMNET_HAVE_DEBUG 1 +#endif + #ifdef IEMNET_HAVE_DEBUG # undef IEMNET_HAVE_DEBUG #endif @@ -245,7 +250,6 @@ void iemnet_debuglevel(void*,t_float); #ifdef DEBUG # undef DEBUG # define DEBUG if(debuglevel&DEBUGLEVEL)startpost("[%s:%d]", __FUNCTION__, __LINE__); if(debuglevel&DEBUGLEVEL)post -# define IEMNET_HAVE_DEBUG 1 #else static void debug_dummy(const char *format, ...) {;} # define DEBUG debug_dummy |