port: net: fix linux builds probably

This commit is contained in:
fgsfds committed 2023-12-26 23:15:05 +01:00
1 parent fe4d86fae1
commit 8eb6880694
1 file changed
+7
+7
View File
@@ -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"