init some ports

This commit is contained in:
Nishi 2026-05-13 02:19:01 +09:00
commit bb5f269f99
14 changed files with 123 additions and 228 deletions

8
include/port.h Normal file
View file

@ -0,0 +1,8 @@
#if defined(_PSP) || defined(_EE) || defined(__vita__)
#include <sys/socket.h>
typedef socklen_t SOCKLEN_T;
#define NO_FCNTL
#else
typedef int SOCKLEN_T;
#endif