cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.
All compilers hosting CMake support proper for scoping.
This commit is contained in:
parent
28fa4923c3
commit
bb3bce706a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue