From bb3bce706a2d41efa034f5b8e71ad701982acf5d Mon Sep 17 00:00:00 2001
From: Stephen Kelly <steveire@gmail.com>
Date: Mon, 5 Jan 2015 20:26:30 +0100
Subject: [PATCH] cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.

All compilers hosting CMake support proper for scoping.
---
 Source/cmStandardIncludes.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 6b40bbaa627..5fbb67d2e7c 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -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
-- 
GitLab