diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 2d820b152..c5bc001ca 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -28,6 +28,8 @@ #ifdef _MSC_VER #pragma warning ( disable : 4786 ) +// for loop scoping hack +#define for if(false) {} else for #endif #ifndef CMAKE_NO_ANSI_STREAM_HEADERS