Browse Source

cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.

All compilers hosting CMake support proper for scoping.
Stephen Kelly 11 years ago
parent
commit
bb3bce706a
1 changed files with 0 additions and 7 deletions
  1. 0 7
      Source/cmStandardIncludes.h

+ 0 - 7
Source/cmStandardIncludes.h

@@ -25,7 +25,6 @@
 #pragma warning ( disable : 4786 )
 #pragma warning ( disable : 4786 )
 #pragma warning ( disable : 4503 )
 #pragma warning ( disable : 4503 )
 #pragma warning ( disable : 4512 ) /* operator=() could not be generated */
 #pragma warning ( disable : 4512 ) /* operator=() could not be generated */
-#define CMAKE_NO_ANSI_FOR_SCOPE
 #endif
 #endif
 
 
 
 
@@ -93,12 +92,6 @@
 #define std
 #define std
 #endif
 #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 )
 #if defined( _MSC_VER )
 typedef unsigned short mode_t;
 typedef unsigned short mode_t;
 #endif
 #endif