|
@@ -264,8 +264,15 @@ typedef long off_t;
|
|
|
|
|
|
#define ERRNO ((int)(GetLastError()))
|
|
#define ERRNO ((int)(GetLastError()))
|
|
#define NO_SOCKLEN_T
|
|
#define NO_SOCKLEN_T
|
|
|
|
+
|
|
|
|
+#if defined(_WIN64) || defined(__MINGW64__)
|
|
|
|
+#define SSL_LIB "ssleay64.dll"
|
|
|
|
+#define CRYPTO_LIB "libeay64.dll"
|
|
|
|
+#else
|
|
#define SSL_LIB "ssleay32.dll"
|
|
#define SSL_LIB "ssleay32.dll"
|
|
#define CRYPTO_LIB "libeay32.dll"
|
|
#define CRYPTO_LIB "libeay32.dll"
|
|
|
|
+#endif
|
|
|
|
+
|
|
#define O_NONBLOCK (0)
|
|
#define O_NONBLOCK (0)
|
|
#ifndef W_OK
|
|
#ifndef W_OK
|
|
#define W_OK (2) /* http://msdn.microsoft.com/en-us/library/1w06ktdy.aspx */
|
|
#define W_OK (2) /* http://msdn.microsoft.com/en-us/library/1w06ktdy.aspx */
|