Don't use msvc_compat's C99 headers with MSVC versions that have (some) C99 support

This commit is contained in:
Mike Hommey 2014-05-29 16:33:02 +09:00 committed by Jason Evans
parent 999e1b5cc7
commit ff2e999667
4 changed files with 4 additions and 0 deletions

View File

@ -155,6 +155,10 @@ if test "x${ac_cv_big_endian}" = "x1" ; then
AC_DEFINE_UNQUOTED([JEMALLOC_BIG_ENDIAN], [ ]) AC_DEFINE_UNQUOTED([JEMALLOC_BIG_ENDIAN], [ ])
fi fi
if test "x${je_cv_msvc}" = "xyes" -a "x${ac_cv_header_inttypes_h}" = "xno"; then
CPPFLAGS="$CPPFLAGS -I${srcroot}/include/msvc_compat/C99"
fi
AC_CHECK_SIZEOF([void *]) AC_CHECK_SIZEOF([void *])
if test "x${ac_cv_sizeof_void_p}" = "x8" ; then if test "x${ac_cv_sizeof_void_p}" = "x8" ; then
LG_SIZEOF_PTR=3 LG_SIZEOF_PTR=3