[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] eliot/game debug.h
From: |
eliot-dev |
Subject: |
[Eliot-dev] eliot/game debug.h |
Date: |
Mon, 26 Dec 2005 21:10:59 +0000 |
CVSROOT: /cvsroot/eliot
Module name: eliot
Branch:
Changes by: Antoine Fraboulet <address@hidden> 05/12/26 21:10:59
Modified files:
game : debug.h
Log message:
- add simple printout debug msg
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/eliot/game/debug.h.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
Patches:
Index: eliot/game/debug.h
diff -u eliot/game/debug.h:1.9 eliot/game/debug.h:1.10
--- eliot/game/debug.h:1.9 Fri Nov 4 20:00:06 2005
+++ eliot/game/debug.h Mon Dec 26 21:10:59 2005
@@ -41,4 +41,10 @@
# define ASSERT(cond, msg)
#endif
+#ifdef DEBUG
+# define debug(x...) { fprintf(stderr,x); }
+#else
+# define debug(x...)
+#endif
+
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Eliot-dev] eliot/game debug.h,
eliot-dev <=