summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-05 19:26:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-08 21:10:15 (GMT)
commitbb3bce706a2d41efa034f5b8e71ad701982acf5d (patch)
treef99f8f8ad5f275dff6ccf4245cf76f02d99e1dc8 /Source/cmStandardIncludes.h
parent28fa4923c3299f81659ad3ee644509ea3530fb14 (diff)
downloadCMake-bb3bce706a2d41efa034f5b8e71ad701982acf5d.zip
CMake-bb3bce706a2d41efa034f5b8e71ad701982acf5d.tar.gz
CMake-bb3bce706a2d41efa034f5b8e71ad701982acf5d.tar.bz2
cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.
All compilers hosting CMake support proper for scoping.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 6b40bba..5fbb67d 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -25,7 +25,6 @@
#pragma warning ( disable : 4786 )
#pragma warning ( disable : 4503 )
#pragma warning ( disable : 4512 ) /* operator=() could not be generated */
-#define CMAKE_NO_ANSI_FOR_SCOPE
#endif
@@ -93,12 +92,6 @@
#define std
#endif
-// if the compiler does not support ansi for scoping of vars use a
-// #define hack
-#ifdef CMAKE_NO_ANSI_FOR_SCOPE
-#define for if(false) {} else for
-#endif
-
#if defined( _MSC_VER )
typedef unsigned short mode_t;
#endif