diff options
author | Brad King <brad.king@kitware.com> | 2015-01-10 17:09:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-10 17:09:04 (GMT) |
commit | e5b914209742a70c72c6cf8a8e6e1e005d8830f2 (patch) | |
tree | 3e82e13ca173bf5903d4c1235278cf6f1496a83c /Source/kwsys/kwsysPlatformTestsCXX.cxx | |
parent | 4aa9c64511adb6e3aa1b686d07f8cbdf92dedbab (diff) | |
parent | 54d83caecfc1e0b8f047037ea6aaa7d54b64d8b3 (diff) | |
download | CMake-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.cxx | 4 |
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() { |