summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-12 15:03:33 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-12 15:10:07 (GMT)
commitbcc06d498ccdc6af80544b415678f4385f99279b (patch)
tree3019edfcf950daf8b01335ccc15bb53973ebb22c
parent6d12ab3f897310354bbaffd7a07b0458f489a7df (diff)
downloadCMake-bcc06d498ccdc6af80544b415678f4385f99279b.zip
CMake-bcc06d498ccdc6af80544b415678f4385f99279b.tar.gz
CMake-bcc06d498ccdc6af80544b415678f4385f99279b.tar.bz2
KWIML: No INT_SCN*8 on SunPro compiler
The Sun compiler does not document support for SCN*8 format (%hh*). It works only on platforms that happen to provide a runtime library that supports the format.
-rw-r--r--INT.h.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/INT.h.in b/INT.h.in
index 4a6298a..5fca08f 100644
--- a/INT.h.in
+++ b/INT.h.in
@@ -191,9 +191,7 @@ An includer may test the following macros after inclusion:
#endif
#if defined(__INTEL_COMPILER)
-#elif defined(__SUNPRO_C) && __SUNPRO_C < 0x570
-# define @KWIML@_INT__NO_SCN8
-#elif defined(__SUNPRO_CC) && __SUNPRO_CC < 0x570
+#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
# define @KWIML@_INT__NO_SCN8
#elif defined(__HP_cc) || defined(__HP_aCC)
# define @KWIML@_INT__NO_SCN8