summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-06-08 10:58:19 -0400
committerDwight <dmerriman@gmail.com>2008-06-08 10:58:19 -0400
commit5080d260b01f51dbf083245729763fedc9f5e8b8 (patch)
treec46ec0acf3cc609222bcd20cb588c0ec1b996d70 /stdafx.h
parent3ac43db818cff02d923383f13e07e4b4029b4d8a (diff)
downloadmongo-5080d260b01f51dbf083245729763fedc9f5e8b8.tar.gz
horrific cursor code gone
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/stdafx.h b/stdafx.h
index d1f6d9d5071..88204ce7da4 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -105,6 +105,15 @@ inline ostream& problem() {
return problems;
}
+/* for now, running on win32 means development not production --
+ use this to log things just there.
+*/
+#if !defined(_WIN32)
+#define DEV if( 1 )
+#else
+#define DEV if( 0 )
+#endif
+
#define DEBUGGING if( 0 )
extern unsigned occasion;