Fix build under MSVC18.0 (2012)

- stdint.h (which defines uint16_t and uint32_t) is bundled with the
  versions starting from MSVC14.0 (2010)
This commit is contained in:
Hajime Yoshimori
2015-10-05 10:42:03 +09:00
parent f000efd79d
commit 527fb32676

View File

@ -19,6 +19,10 @@
#define MSGPACK_SYSDEP_H__
#include <qglobal.h>
#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1600
#include <stdint.h>
#endif
#ifndef _WIN32
#include <arpa/inet.h> /* __BYTE_ORDER */
#endif