diff options
author | Brad King <brad.king@kitware.com> | 2001-03-14 22:49:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-14 22:49:47 (GMT) |
commit | d3735b65d607d6a999f8dc99ff7e0a3b6b18694e (patch) | |
tree | 5a5a71d55d9188c928b34a0f71a1a6adac1be7b0 /Source/cmStandardIncludes.h | |
parent | 08ff3427a806064369057fe997f77d75f82a6806 (diff) | |
download | CMake-d3735b65d607d6a999f8dc99ff7e0a3b6b18694e.zip CMake-d3735b65d607d6a999f8dc99ff7e0a3b6b18694e.tar.gz CMake-d3735b65d607d6a999f8dc99ff7e0a3b6b18694e.tar.bz2 |
ERR: Added for-loop scoping hack for CMake sources on MSVC
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 2d820b1..c5bc001 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 |