Use new-style system-id macros everywhere possible. I hope I haven't
[openssl.git] / crypto / bio / bss_conn.c
index 9772bc8529017ef0cb4fd8ee28f15e8cca97fac4..c41ba3cc411ee9b1f0e6a219f9d606cf3f2118db 100644 (file)
 #include "cryptlib.h"
 #include <openssl/bio.h>
 
-#ifdef WIN16
+#ifdef OPENSSL_SYS_WIN16
 #define SOCKET_PROTOCOL 0 /* more microsoft stupidity */
 #else
 #define SOCKET_PROTOCOL IPPROTO_TCP
 #endif
 
-#if (defined(VMS) && __VMS_VER < 70000000)
+#if (defined(OPENSSL_SYS_VMS) && __VMS_VER < 70000000)
 /* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */
 #undef FIONBIO
 #endif