diff error.h @ 0:435ac1cdb64e

create task dandy directry.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Sat, 11 Dec 2010 21:25:28 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/error.h	Sat Dec 11 21:25:28 2010 +0900
@@ -0,0 +1,8 @@
+#ifdef _DEBUG_
+#  include <stdio.h>
+#  define __debug(...) do {			\
+	fprintf(stderr, __VA_ARGS__);		\
+    } while (0)
+#else /* !_DEBUG_ */
+#  define __debug(...)
+#endif