|
@@ -2,10 +2,12 @@
|
|
|
|
|
|
#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
|
|
|
#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
|
|
|
-#define DLog(format, ...) \
|
|
|
- #if DEBUG \
|
|
|
- log_message(format, __VA_ARGS__); \
|
|
|
- #endif
|
|
|
+
|
|
|
+#if DEBUG
|
|
|
+#define DLog(format, ...) log_message(format, __VA_ARGS__);
|
|
|
+#else
|
|
|
+#define DLog(format, ...)
|
|
|
+#endif
|
|
|
|
|
|
#include <stdio.h>
|
|
|
#include <pthread.h>
|