commit | ff2e999667cbd06e5e80c243277c1f3c72d6d263 | [log] [tgz] |
---|---|---|
author | Mike Hommey <mh@glandium.org> | Thu May 29 16:33:02 2014 +0900 |
committer | Jason Evans <jasone@canonware.com> | Sun Jun 01 20:53:35 2014 -0700 |
tree | 867c5ea5b7f550a329e9467d190178402e984405 | |
parent | 999e1b5cc74e299a25cc718ddf9fae370cf45264 [diff] |
Don't use msvc_compat's C99 headers with MSVC versions that have (some) C99 support
diff --git a/configure.ac b/configure.ac index 5852249..5aeaa08 100644 --- a/configure.ac +++ b/configure.ac
@@ -155,6 +155,10 @@ AC_DEFINE_UNQUOTED([JEMALLOC_BIG_ENDIAN], [ ]) 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 *]) if test "x${ac_cv_sizeof_void_p}" = "x8" ; then LG_SIZEOF_PTR=3
diff --git a/include/msvc_compat/inttypes.h b/include/msvc_compat/C99/inttypes.h similarity index 100% rename from include/msvc_compat/inttypes.h rename to include/msvc_compat/C99/inttypes.h
diff --git a/include/msvc_compat/stdbool.h b/include/msvc_compat/C99/stdbool.h similarity index 100% rename from include/msvc_compat/stdbool.h rename to include/msvc_compat/C99/stdbool.h
diff --git a/include/msvc_compat/stdint.h b/include/msvc_compat/C99/stdint.h similarity index 100% rename from include/msvc_compat/stdint.h rename to include/msvc_compat/C99/stdint.h