forked from Ports/perfect_dark
port: net: fix linux builds probably
This commit is contained in:
1 parent
fe4d86fae1
commit
8eb6880694
1 file changed
+7
Vendored
+7
@@ -1,3 +1,10 @@
|
||||
#ifndef _WIN32
|
||||
#ifndef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define ENET_IMPLEMENTATION 1
|
||||
#define ENET_NO_PRAGMA_LINK 1
|
||||
|
||||
#include "external/enet.h"
|
||||
Reference in new issue
Block a user