From 9fdfe07411d8846f2adf0e46cf9046238c149d2b Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 8 Jan 2013 14:43:26 -0500 Subject: [PATCH] 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 --- ABI.h.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ABI.h.in b/ABI.h.in index 7f4772ae5..b71cdfb9f 100644 --- a/ABI.h.in +++ b/ABI.h.in @@ -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