diff options
author | Brad King <brad.king@kitware.com> | 2011-11-18 18:46:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-18 18:46:22 (GMT) |
commit | ae7cf91b1376cc313dc39e41c7d3e2026ac79b6b (patch) | |
tree | 26deb5bcf25c3e1eeec5c0d26e6086346a29f60b | |
parent | 9ccd639ad70c65b844f6610c5ae08a63e25f6806 (diff) | |
download | CMake-ae7cf91b1376cc313dc39e41c7d3e2026ac79b6b.zip CMake-ae7cf91b1376cc313dc39e41c7d3e2026ac79b6b.tar.gz CMake-ae7cf91b1376cc313dc39e41c7d3e2026ac79b6b.tar.bz2 |
KWIML: Teach ABI.h about PGI compiler
The PGI compiler appears to define "long long" as size 8 but does not
provide a feature macro for it. It does provide options for the
signedness of char (-Mschar, -Muchar) but does not define a feature
macro indicating the choice. The default is signed, at least on Linux.
-rw-r--r-- | ABI.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -148,6 +148,8 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined. # define @KWIML@_ABI_CHAR_IS_SIGNED 1 # elif defined(_SGI_COMPILER_VERSION) /* SGI MIPSpro default */ # define @KWIML@_ABI_CHAR_IS_UNSIGNED 1 +# elif defined(__PGIC__) /* PGI default */ +# define @KWIML@_ABI_CHAR_IS_SIGNED 1 # elif defined(_MSC_VER) /* MSVC default */ # define @KWIML@_ABI_CHAR_IS_SIGNED 1 # elif defined(__WATCOMC__) /* Watcom default */ @@ -231,6 +233,8 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined. # define @KWIML@_ABI_SIZEOF_LONG_LONG 8 # elif defined(__HP_cc) || defined(__HP_aCC) /* HP */ # define @KWIML@_ABI_SIZEOF_LONG_LONG 8 +# elif defined(__PGIC__) /* PGI */ +# define @KWIML@_ABI_SIZEOF_LONG_LONG 8 # elif defined(__WATCOMC__) /* Watcom */ # define @KWIML@_ABI_SIZEOF_LONG_LONG 8 # elif defined(__INTEL_COMPILER) /* Intel */ |