2 * Copyright (c) 2004-2007 Sergey Lyubka <valenok@gmail.com>
5 * "THE BEER-WARE LICENSE" (Revision 42):
6 * Sergey Lyubka wrote this file. As long as you retain this notice you
7 * can do whatever you want with this stuff. If we meet some day, and you think
8 * this stuff is worth it, you can buy me a beer in return.
12 #include <sys/socket.h>
13 #include <sys/select.h>
15 #include <netinet/in.h>
16 #include <arpa/inet.h>
23 #define SSL_LIB "libssl.so"
25 #define IS_DIRSEP_CHAR(c) ((c) == '/')
27 #define closesocket(a) close(a)
31 #define InitializeCriticalSection(x) /* FIXME UNIX version is not MT safe */
32 #define EnterCriticalSection(x)
33 #define LeaveCriticalSection(x)