changeset 4759:3cdee616c96d

add debug.h from libSAD
author Andrew O. Shadoura <bugzilla@tut.by>
date Thu, 07 Aug 2008 12:41:23 +0300
parents 8de129d08238
children d0218338996d
files src/libSAD/debug.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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