#ifndef UNIX_H #define UNIX_H #include #include #include #include #include #include #include #include #include void Sleep(unsigned long milliseconds); typedef int SOCKET; #define INVALID_SOCKET (-1) void closesocket(SOCKET fd); #define ioctlsocket ioctl /* default visibility takes care of exported symbols */ #define I2_EXPORT #define I2_IMPORT typedef void *HMODULE; #define INVALID_HANDLE_VALUE NULL HMODULE LoadLibrary(const char *filename); void FreeLibrary(HMODULE module); void *GetProcAddress(HMODULE module, const char *function); #endif /* UNIX_H */