diff --git a/test/build_wincrypt_test.c b/test/build_wincrypt_test.c index 5bd75e6a43..0c0a546527 100644 --- a/test/build_wincrypt_test.c +++ b/test/build_wincrypt_test.c @@ -22,7 +22,11 @@ # include # ifndef X509_NAME # ifndef PEDANTIC -# warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers" +# ifdef _MSC_VER +# pragma message("wincrypt.h no longer defining X509_NAME before OpenSSL headers") +# else +# warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers" +# endif # endif # endif #endif