summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsysPlatformTestsCXX.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-10 17:09:04 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-10 17:09:04 (GMT)
commite5b914209742a70c72c6cf8a8e6e1e005d8830f2 (patch)
tree3e82e13ca173bf5903d4c1235278cf6f1496a83c /Source/kwsys/kwsysPlatformTestsCXX.cxx
parent4aa9c64511adb6e3aa1b686d07f8cbdf92dedbab (diff)
parent54d83caecfc1e0b8f047037ea6aaa7d54b64d8b3 (diff)
downloadCMake-e5b914209742a70c72c6cf8a8e6e1e005d8830f2.zip
CMake-e5b914209742a70c72c6cf8a8e6e1e005d8830f2.tar.gz
CMake-e5b914209742a70c72c6cf8a8e6e1e005d8830f2.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/kwsysPlatformTestsCXX.cxx')
-rw-r--r--Source/kwsys/kwsysPlatformTestsCXX.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/kwsysPlatformTestsCXX.cxx b/Source/kwsys/kwsysPlatformTestsCXX.cxx
index 3f947f3..82620da 100644
--- a/Source/kwsys/kwsysPlatformTestsCXX.cxx
+++ b/Source/kwsys/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()
{