# HG changeset patch
# User Santeri Piippo <crimsondusk64@gmail.com>
# Date 1390254227 -7200
# Node ID aa23fe2231823785012309a421267c59c9459ba2
# Parent  6a05c4969074a087906c77759154853a1262d1a7# Parent  5c0147e9f3a37ee96579d538659708436cae5c15
- Merge ../ldforge into gl

diff -r 6a05c4969074 -r aa23fe223182 src/main.h
--- a/src/main.h	Mon Jan 20 16:42:18 2014 +0200
+++ b/src/main.h	Mon Jan 20 23:43:47 2014 +0200
@@ -83,6 +83,12 @@
 # endif // DEBUG
 #endif // IN_IDE_PARSER
 
+#ifndef IN_IDE_PARSER
+void dvalof (void a); // #define dvalof(A) dlog ("value of '%1' = %2\n", #A, A)
+#else
+# define dvalof(A) dlog ("value of '%1' = %2\n", #A, A)
+#endif
+
 // Replace assert with a version that shows a GUI dialog if possible.
 // On Windows I just can't get the actual error messages otherwise.
 void assertionFailure (const char* file, int line, const char* funcname, const char* expr);