init some ports
This commit is contained in:
parent
39d6fde32d
commit
bb5f269f99
14 changed files with 123 additions and 228 deletions
8
include/port.h
Normal file
8
include/port.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue