From 9ccd639ad70c65b844f6610c5ae08a63e25f6806 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 17 Nov 2011 10:15:02 -0500 Subject: KWIML: Ignore _LONGLONG on MS compiler The VS 7.0 header included by most C++ system headers defines the macro _LONGLONG as __int64. Teach ABI.h to ignore the definition in this case because "long long" does not exist. --- ABI.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ABI.h.in b/ABI.h.in index c4121ff..0ec6d0e 100644 --- a/ABI.h.in +++ b/ABI.h.in @@ -216,7 +216,8 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined. # endif #endif #if !defined(@KWIML@_ABI_SIZEOF_LONG_LONG) -# if defined(_LONGLONG) /* SGI, some GNU, perhaps others. */ +# if defined(_LONGLONG) /* SGI, some GNU, perhaps others. */ \ + && !defined(_MSC_VER) # define @KWIML@_ABI_SIZEOF_LONG_LONG 8 # elif defined(_LONG_LONG) /* IBM XL, perhaps others. */ # define @KWIML@_ABI_SIZEOF_LONG_LONG 8 -- cgit v0.12