mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed windows build.
This commit is contained in:
parent
b0149318fa
commit
05a3851e43
|
@ -36,6 +36,13 @@
|
|||
#include <windows.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
||||
typedef INT sa_family_t;
|
||||
#ifndef true
|
||||
#define true 1
|
||||
#endif
|
||||
#ifndef false
|
||||
#define false 0
|
||||
#endif
|
||||
#else
|
||||
|
||||
#include <netinet/ip.h>
|
||||
|
|
Loading…
Reference in New Issue
Block a user