BACKENDS: ENET: Yet another fix for Vita build

SOMAXCONN is not defined in their toolchain and a patch in their
boost package uses this value
This commit is contained in:
Le Philousophe 2023-03-07 13:37:27 +01:00
parent 36ccf8b29a
commit 673ff82b8a

View File

@ -44,6 +44,11 @@
#endif #endif
#endif #endif
// vitasdk do this in their boost package
#if defined(__vita__) && !defined(SOMAXCONN)
#define SOMAXCONN 4096
#endif
#ifdef HAS_FCNTL #ifdef HAS_FCNTL
#include <fcntl.h> #include <fcntl.h>
#else #else