summaryrefslogtreecommitdiffstats
path: root/kwsysPlatformTestsCXX.cxx
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2015-01-09 20:37:34 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-10 17:09:01 (GMT)
commit54d83caecfc1e0b8f047037ea6aaa7d54b64d8b3 (patch)
tree54e90e939ea343d88d170fe33c90c2c0ad22e7df /kwsysPlatformTestsCXX.cxx
parent6ed23ff4e9bbf848a77865e6d08c1e8e6074de92 (diff)
downloadCMake-54d83caecfc1e0b8f047037ea6aaa7d54b64d8b3.zip
CMake-54d83caecfc1e0b8f047037ea6aaa7d54b64d8b3.tar.gz
CMake-54d83caecfc1e0b8f047037ea6aaa7d54b64d8b3.tar.bz2
KWSys 2015-01-09 (425fa73e)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 425fa73e | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 5a15cb3b..425fa73e Ben Boeckel (1): 425fa73e Add missing malloc return value casts Simon Gomizelj (1): 2f0165f1 Terminal: Add xterm-termite to VT100 color support whitelist Stephen Kelly (3): e4fe1d1a SystemTools: Refactor selection of Windows directory APIs af86ac7d SystemTools: Fix build with SunCC/stlport. d30c9b03 Workaround SolarisStudio bug with libstdc++. Change-Id: Ib8fbe15d1ee072ac8d8506d92c8883056b224a89
Diffstat (limited to 'kwsysPlatformTestsCXX.cxx')
-rw-r--r--kwsysPlatformTestsCXX.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/kwsysPlatformTestsCXX.cxx b/kwsysPlatformTestsCXX.cxx
index 3f947f3..82620da 100644
--- a/kwsysPlatformTestsCXX.cxx
+++ b/kwsysPlatformTestsCXX.cxx
@@ -548,6 +548,10 @@ int main()
#if (defined(__GNUC__) || defined(__PGI)) && !defined(_GNU_SOURCE)
# define _GNU_SOURCE
#endif
+#if defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5130 \
+ && __linux && __SUNPRO_CC_COMPAT == 'G'
+# include <iostream>
+#endif
#include <cxxabi.h>
int main()
{