aboutsummaryrefslogtreecommitdiff
path: root/fmdriver/fmdriver_common.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2016-11-30 23:01:06 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2016-11-30 23:01:06 +0900
commitae78fca8bf5835ceccdbdc902197fe082b8def30 (patch)
tree1784d80a55455e88aad56c794e59d432a5f0f33b /fmdriver/fmdriver_common.h
parent6fa6b5535a9f514ae527af58a2c0964645d26e6f (diff)
added GTK UI
Diffstat (limited to 'fmdriver/fmdriver_common.h')
-rw-r--r--fmdriver/fmdriver_common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fmdriver/fmdriver_common.h b/fmdriver/fmdriver_common.h
index cd804b8..23600cb 100644
--- a/fmdriver/fmdriver_common.h
+++ b/fmdriver/fmdriver_common.h
@@ -13,7 +13,10 @@ static inline int16_t u16s16(uint16_t v) {
return (v & 0x8000) ? ((int32_t)v)-0x10000 : v;
}
+#if 0
#include <stdio.h>
#define FMDRIVER_DEBUG(...) fprintf(stderr, __VA_ARGS__)
-
+#else
+#define FMDRIVER_DEBUG(...)
+#endif
#endif // MYON_FMDRIVER_COMMON_H_INCLUDED