diff --git a/c_src/common.h b/c_src/common.h index daeff5f..9cb989d 100644 --- a/c_src/common.h +++ b/c_src/common.h @@ -24,24 +24,6 @@ extern "C" { #endif -#if !(__STDC_VERSION__ >= 199901L || defined(__GNUC__)) -# undef DEBUG -# define DEBUG 0 -# define DPRINTF (void) /* Vararg macros may be unsupported */ -#elif DEBUG -#include -#include -#define DPRINTF(fmt, ...) \ - do { \ - fprintf(stderr, "%s:%d " fmt "\n", __FILE__, __LINE__, __VA_ARGS__); \ - fflush(stderr); \ - } while(0) -#define DPUTS(arg) DPRINTF("%s", arg) -#else -#define DPRINTF(fmt, ...) ((void) 0) -#define DPUTS(arg) ((void) 0) -#endif - #ifndef UNUSED #define UNUSED(v) ((void)(v)) #endif