forked from romixlab/qmsgpack
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:
@ -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
|
||||
|
Reference in New Issue
Block a user