#if defined(_WIN32)
# include <Winsock2.h>
-# define CONV __fastcall
+# ifdef _MSC_VER
+# define CONV __fastcall
+# else
+# define CONV
+# endif
# define SCKT_NULL INVALID_SOCKET
+# define WIN32_PIPE
typedef SOCKET sckt_t;
+char *strtok_r( char *s, const char *t, char **next);
#else