#include <pthread.h>
#endif
#ifdef __WIN32__
+ #include <synchapi.h>
+/*
#define _WINSOCKAPI_ // make windows.h happy about winsock.
// winsock support...
// #undef FD_SETSIZE
// if you don't set this, you can only select on a default of 64 sockets.
#include <winsock2.h>
#include <windows.h>
+ */
#endif
namespace basis {