summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-05-29 19:37:11 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-05-29 19:37:11 (GMT)
commit1b9948cb79fb1486dc416d1c054f2ae18b456029 (patch)
treef6c9cb994f50a5fc6ea12db88345ab33947171a8 /Source
parent73cb20187c20f9d22ff8ed07195cf7ab572fb7ff (diff)
parent0fbaa63cb25110385622a9f5a534c990d35e06c4 (diff)
downloadCMake-1b9948cb79fb1486dc416d1c054f2ae18b456029.zip
CMake-1b9948cb79fb1486dc416d1c054f2ae18b456029.tar.gz
CMake-1b9948cb79fb1486dc416d1c054f2ae18b456029.tar.bz2
Merge topic 'kwsys-no-win32-environ-decl'
0fbaa63 KWSys: Remove unused environ declaration from SystemTools
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/SystemTools.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 8ab580f..66850e9 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -81,11 +81,7 @@
#endif
#if !KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H
-# if defined(_WIN32)
-extern __declspec(dllimport) char **environ;
-# else
extern char **environ;
-# endif
#endif
#ifdef __CYGWIN__