diagnostic
diff --git a/OpenSSL/ssl/ssl.c b/OpenSSL/ssl/ssl.c
index 974c0ce..c0323d6 100644
--- a/OpenSSL/ssl/ssl.c
+++ b/OpenSSL/ssl/ssl.c
@@ -75,7 +75,7 @@
     import_crypto();
 #else
 #   ifdef WINDOWS
-    #warn "Windows"
+    #warning "Windows"
     HMODULE crypto = GetModuleHandle("crypto.pyd");
     if (crypto == NULL) {
         PyErr_SetString(PyExc_RuntimeError, "Unable to get crypto module");
@@ -84,7 +84,7 @@
 
     new_x509name = GetProcAddress(crypto, "crypto_X509Name_New");
 #   else
-    #warn "Not windows"
+    #warning "Not windows"
     new_x509name = crypto_X509Name_New;
 #   endif
 #endif