diff options
author | Brad King <brad.king@kitware.com> | 2013-01-08 19:43:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-08 20:31:13 (GMT) |
commit | 9fdfe07411d8846f2adf0e46cf9046238c149d2b (patch) | |
tree | ec1fe934b20d22c8e61ce62e6cc415bb0799d131 /ABI.h.in | |
parent | 349165223d26f0ffc5ad004b4a05a8a92121ac20 (diff) | |
download | CMake-9fdfe07411d8846f2adf0e46cf9046238c149d2b.zip CMake-9fdfe07411d8846f2adf0e46cf9046238c149d2b.tar.gz CMake-9fdfe07411d8846f2adf0e46cf9046238c149d2b.tar.bz2 |
KWIML: Teach ABI about 'long long' on older GNU
Old GNU compilers do not define __SIZEOF_LONG_LONG__ or
__LONG_LONG_MAX__ but do provide a 64-bit 'long long' type.
Suggested-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'ABI.h.in')
-rw-r--r-- | ABI.h.in | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -253,7 +253,9 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined. # else # define @KWIML@_ABI_SIZEOF_LONG_LONG 0 # endif -# elif defined(__hpux) && !defined(__GNUC__) /* Old HP: no __HP_cc/__HP_aCC above */ +# elif defined(__GNUC__) /* GNU */ +# define @KWIML@_ABI_SIZEOF_LONG_LONG 8 +# elif defined(__hpux) /* Old HP: no __HP_cc/__HP_aCC/__GNUC__ above */ # define @KWIML@_ABI_SIZEOF_LONG_LONG 8 # endif #endif |