Skip to content
Snippets Groups Projects
Commit bb3bce70 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.

All compilers hosting CMake support proper for scoping.
parent 28fa4923
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment