summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 2d820b1..c5bc001 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -28,6 +28,8 @@
#ifdef _MSC_VER
#pragma warning ( disable : 4786 )
+// for loop scoping hack
+#define for if(false) {} else for
#endif
#ifndef CMAKE_NO_ANSI_STREAM_HEADERS