aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/windows-untested/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/windows-untested/stdafx.h')
-rw-r--r--boehm-gc/windows-untested/stdafx.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/boehm-gc/windows-untested/stdafx.h b/boehm-gc/windows-untested/stdafx.h
new file mode 100644
index 00000000000..7f5dcf1c31d
--- /dev/null
+++ b/boehm-gc/windows-untested/stdafx.h
@@ -0,0 +1,15 @@
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
+#pragma warning(error: 4013) // function undefined; assuming extern returning int
+
+#ifdef _MT
+# define GC_THREADS 1
+#endif
+
+#ifdef _DEBUG
+# define GC_DEBUG
+#endif
+
+#define SAVE_CALL_CHAIN
+#define SAVE_CALL_COUNT 8