fix Windows build with MSVC compiler

This commit is contained in:
olszomal 2022-04-04 08:59:35 +02:00 committed by Michał Trojnara
parent d7ae7c90f9
commit 40bd33ee01

View File

@ -61,9 +61,9 @@
#define OPENSSL_API_COMPAT 0x10100000L #define OPENSSL_API_COMPAT 0x10100000L
#define OPENSSL_NO_DEPRECATED #define OPENSSL_NO_DEPRECATED
#ifdef __MINGW32__ #if defined(_MSC_VER) || defined(MINGW32)
#define HAVE_WINDOWS_H #define HAVE_WINDOWS_H
#endif /* __MINGW32__ */ #endif /* _MSC_VER || MINGW32 */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"