Fix VS 2013 compilation.
This commit is contained in:
parent
53f05e868d
commit
85ebcf1434
@ -26,6 +26,11 @@
|
||||
typedef unsigned __int32 uint32_t;
|
||||
typedef __int64 int64_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1700
|
||||
#include <stdint.h>
|
||||
// We can't use the ifndef SOCKET_ERROR below in this case, since
|
||||
// SOCKET_ERROR will be defined again in winsock2.h later
|
||||
// - without the #ifdef guard then causing a compiler error.
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#ifndef SOCKET_ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user