diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-05 19:26:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-08 21:10:15 (GMT) |
commit | bb3bce706a2d41efa034f5b8e71ad701982acf5d (patch) | |
tree | f99f8f8ad5f275dff6ccf4245cf76f02d99e1dc8 /Source/cmStandardIncludes.h | |
parent | 28fa4923c3299f81659ad3ee644509ea3530fb14 (diff) | |
download | CMake-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.h | 7 |
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 |