mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
18 lines
No EOL
319 B
C
18 lines
No EOL
319 B
C
#ifndef __Syssocket__
|
|
#define __Syssocket__
|
|
|
|
#ifdef _WIN32
|
|
#define WINSOCK_API_LINKAGE
|
|
#include <winsock2.h>
|
|
#ifndef _timeval_
|
|
#define _timeval_
|
|
#endif
|
|
typedef SSIZE_T ssize_t;
|
|
typedef ULONG32 in_addr_t;
|
|
typedef USHORT in_port_t;
|
|
typedef USHORT uint16_t;
|
|
typedef ULONG32 socklen_t;
|
|
|
|
#endif _Win32
|
|
|
|
#endif __Syssocket__ |