From ada366527943b53d749963797080966f99e837f4 Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Wed, 8 Jul 2020 17:44:30 -0700 Subject: Use _WIN32 define instead of WIN32 (#845) It appears that _WIN32 is always defined by MSVC whereas WIN32 may not be, depending on configuration. --- ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ssl.c') diff --git a/ssl.c b/ssl.c index 10cf607..d74212d 100644 --- a/ssl.c +++ b/ssl.c @@ -36,7 +36,7 @@ #include #include #include -#ifdef WIN32 +#ifdef _WIN32 #include #else #include @@ -95,7 +95,7 @@ redisContextFuncs redisContextSSLFuncs; #endif #ifdef HIREDIS_USE_CRYPTO_LOCKS -#ifdef WIN32 +#ifdef _WIN32 typedef CRITICAL_SECTION sslLockType; static void sslLockInit(sslLockType* l) { InitializeCriticalSection(l); -- cgit v1.2.3