#include "platform_adpt.h"
#include <stdlib.h>
-#ifdef WIN32
+#ifdef _WIN32
void PA_NetLibInit()
{
/////////////////////////////////////////////////////////
-#elif defined(__LINUX__) || defined(__ANDROID__)
+#elif defined(__linux__)
BOOL PA_EventWaitTimed(PA_EVENT e, DWORD ms)
{
{
struct linger opt = { onoff, linger };
return setsockopt(s, SOL_SOCKET, SO_LINGER,
-#ifdef WIN32
+#ifdef _WIN32
(const char*)&opt,
#else
&opt,