Check if stdint has been included before trying to declare int variants. Needed for mod_v8 build in Windows
This commit is contained in:
parent
275d8f882f
commit
5f7b00fb69
|
@ -77,6 +77,7 @@ typedef unsigned long in_addr_t;
|
|||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
typedef SOCKET stfu_socket_t;
|
||||
#ifndef _STDINT
|
||||
typedef unsigned __int64 uint64_t;
|
||||
typedef unsigned __int32 uint32_t;
|
||||
typedef unsigned __int16 uint16_t;
|
||||
|
@ -85,6 +86,7 @@ typedef __int64 int64_t;
|
|||
typedef __int32 int32_t;
|
||||
typedef __int16 int16_t;
|
||||
typedef __int8 int8_t;
|
||||
#endif
|
||||
typedef intptr_t stfu_ssize_t;
|
||||
typedef int stfu_filehandle_t;
|
||||
#define STFU_SOCK_INVALID INVALID_SOCKET
|
||||
|
|
Loading…
Reference in New Issue