ERR: Added for-loop scoping hack for CMake sources on MSVC

This commit is contained in:
Brad King 2001-03-14 17:49:47 -05:00
parent 08ff3427a8
commit d3735b65d6
1 changed files with 2 additions and 0 deletions

View File

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