summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-13 17:31:11 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-13 17:35:04 (GMT)
commit5d6cb1308de39abda8e394531a5027188371df74 (patch)
tree5eabfcacfbb74c58a44950fbce4f8f665ac20e39
parent2f8f7ec56ad50d783e8b09d132263657d3462339 (diff)
downloadCMake-5d6cb1308de39abda8e394531a5027188371df74.zip
CMake-5d6cb1308de39abda8e394531a5027188371df74.tar.gz
CMake-5d6cb1308de39abda8e394531a5027188371df74.tar.bz2
KWSys: Fix wrong spelling of __INTEL_COMPILER
Author: Hans Johnson <hans-johnson@uiowa.edu> Change-Id: I31a29a8b53e5262b76530b8ea80a1a66cff7b3f7
-rw-r--r--Source/kwsys/SystemTools.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index b6c3fda..ed7f62c 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -371,7 +371,7 @@ bool SystemTools::GetEnv(const char* key, kwsys_stl::string& result)
}
}
-#ifdef INTEL_COMPILER
+#ifdef __INTEL_COMPILER
#pragma warning disable 444
#endif
@@ -403,11 +403,6 @@ bool SystemTools::PutEnv(const char* value)
return ret == 0;
}
-#ifdef INTEL_COMPILER
-#pragma warning restore 444
-#endif
-
-
const char* SystemTools::GetExecutableExtension()
{
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__VMS)