From 91e6ab94455327e64037c9190e2d6c2869708bcc Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 16 Jul 2013 12:18:43 +0200 Subject: Fixed issue #45: test for _WIN32 instead of WIN32. --- src/security/cert/openssl/X509Certificate_OpenSSL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/security/cert/openssl/X509Certificate_OpenSSL.cpp') diff --git a/src/security/cert/openssl/X509Certificate_OpenSSL.cpp b/src/security/cert/openssl/X509Certificate_OpenSSL.cpp index 20df3739..8c18583b 100644 --- a/src/security/cert/openssl/X509Certificate_OpenSSL.cpp +++ b/src/security/cert/openssl/X509Certificate_OpenSSL.cpp @@ -48,7 +48,7 @@ #include -#ifdef WIN32 +#ifdef _WIN32 # define strcasecmp _stricmp # define strncasecmp _strnicmp #endif @@ -384,7 +384,7 @@ bool X509Certificate_OpenSSL::verifyHostName(const string& hostname) const if (strcmp(extStr, "subjectAltName") == 0) { -#ifdef WIN32 +#ifdef _WIN32 X509V3_EXT_METHOD* method; #else const X509V3_EXT_METHOD* method; -- cgit v1.2.3