mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-08-04 12:44:27 +02:00
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__
|
#define MSGPACK_SYSDEP_H__
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1600
|
||||||
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <arpa/inet.h> /* __BYTE_ORDER */
|
#include <arpa/inet.h> /* __BYTE_ORDER */
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user