KWIML: Ignore _LONGLONG on MS compiler

The VS 7.0 header <yvals.h> 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.
This commit is contained in:
Brad King 2011-11-17 10:15:02 -05:00
parent 8be93fc487
commit 9ccd639ad7
1 changed files with 2 additions and 1 deletions

View File

@ -216,7 +216,8 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
# endif # endif
#endif #endif
#if !defined(@KWIML@_ABI_SIZEOF_LONG_LONG) #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 # define @KWIML@_ABI_SIZEOF_LONG_LONG 8
# elif defined(_LONG_LONG) /* IBM XL, perhaps others. */ # elif defined(_LONG_LONG) /* IBM XL, perhaps others. */
# define @KWIML@_ABI_SIZEOF_LONG_LONG 8 # define @KWIML@_ABI_SIZEOF_LONG_LONG 8