Commit 1ddff5bb authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Include stdint.h instead of inttypes.h when compiled with MSVC < 2013

parent 3a4c8bc8
......@@ -36,7 +36,14 @@ extern "C" {
#endif
#include <stdlib.h>
#if defined(_MSC_VER) && (_MSC_VER < 1800)
/* MSVC < 2013 does not have inttypes.h because it is not C99
compliant. See compiler macros and version number in
https://sourceforge.net/p/predef/wiki/Compilers/ */
#include <stdint.h>
#else /* !defined(_MSC_VER) || (_MSC_VER >= 1800) */
#include <inttypes.h>
#endif /* !defined(_MSC_VER) || (_MSC_VER >= 1800) */
#include <sys/types.h>
#include <nghttp2/nghttp2ver.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment