diff src/libSAD/debug.h @ 4759:3cdee616c96d

add debug.h from libSAD
author Andrew O. Shadoura <bugzilla@tut.by>
date Thu, 07 Aug 2008 12:41:23 +0300
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libSAD/debug.h	Thu Aug 07 12:41:23 2008 +0300
@@ -0,0 +1,5 @@
+#ifdef DEBUG
+#define DEBUG_MSG(f,x) {printf("debug: "f, x);}
+#else
+#define DEBUG_MSG(f,x) {}
+#endif