cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.

All compilers hosting CMake support proper for scoping.
This commit is contained in:
Stephen Kelly 2015-01-05 20:26:30 +01:00
parent 28fa4923c3
commit bb3bce706a
1 changed files with 0 additions and 7 deletions

View File

@ -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