From bec2ae2eed374d2c0bccf82d2de45e938d1cfb5b Mon Sep 17 00:00:00 2001 From: olszomal Date: Tue, 15 Mar 2022 08:36:04 +0100 Subject: [PATCH] fix Windows build with MSVC compiler --- osslsigncode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osslsigncode.c b/osslsigncode.c index d838141..d9ebbc6 100644 --- a/osslsigncode.c +++ b/osslsigncode.c @@ -61,7 +61,7 @@ #define OPENSSL_API_COMPAT 0x10100000L #define OPENSSL_NO_DEPRECATED -#ifdef __MINGW32__ +#if defined(_MSC_VER) || defined(__MINGW32__) #define HAVE_WINDOWS_H #endif /* __MINGW32__ */