Merge branch 'local-ocamlbuild' into local-trunk
[SXSI/xpathcomp.git] / src / Utils.h
diff --git a/src/Utils.h b/src/Utils.h
new file mode 100644 (file)
index 0000000..2ab34e2
--- /dev/null
@@ -0,0 +1,20 @@
+/**************************************
+ * Utils.h
+ * -------------------
+ * Utility macro for debugging purposes
+ * 
+ * 
+ * Author: Kim Nguyen
+ * Date: 05/11/08
+ */
+
+
+#ifndef UTILS_H_
+#define UTILS_H_
+#ifdef DEBUG
+#include<iostream>
+#define DPRINT(msg) std::cerr << msg;
+#else
+#define DPRINT(msg)
+#endif
+#endif // UTILS_H_