diff --git a/unix.c b/unix.c index b774567..3d57e9d 100644 --- a/unix.c +++ b/unix.c @@ -57,14 +57,9 @@ #define HAS_GETNAMEINFO 1 #endif #elif defined(__vita__) -#ifdef HAS_POLL -#undef HAS_POLL -#endif -#ifdef HAS_FCNTL -#undef HAS_FCNTL -#endif -#ifdef HAS_IOCTL -#undef HAS_IOCTL +// PS Vita: No support for ancillary data or advanced message control +#ifndef NO_MSGAPI +#define NO_MSGAPI 1 #endif #ifndef HAS_INET_PTON #define HAS_INET_PTON 1 @@ -72,9 +67,6 @@ #ifndef HAS_INET_NTOP #define HAS_INET_NTOP 1 #endif -#ifdef HAS_MSGHDR_FLAGS -#undef HAS_MSGHDR_FLAGS -#endif #ifndef HAS_SOCKLEN_T #define HAS_SOCKLEN_T 1 #endif @@ -905,5 +897,4 @@ enet_socket_wait (ENetSocket socket, enet_uint32 * condition, enet_uint32 timeou #endif } -#endif - +#endif \ No newline at end of file