summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-09-24 05:45:10 +0000
committerDaiki Ueno <ueno@gnu.org>2021-09-24 05:45:10 +0000
commit9571f3a9e202ca2eeb369bb320bb93b638bb718c (patch)
treec1db6bc228ed5a3b89e542b7c20a9acd500217f6
parent7a220bf3899f3a32d6ff667d3861d15312ccd35b (diff)
parentf42ec27a26433902c098cf82f7b38d93ca579869 (diff)
downloadgnutls-9571f3a9e202ca2eeb369bb320bb93b638bb718c.tar.gz
Merge branch 'mingw64-detection' into 'master'
fix mingw64 detection See merge request gnutls/gnutls!1476
-rw-r--r--lib/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.h b/lib/system.h
index 1e8ca7d070..e15c8cd33d 100644
--- a/lib/system.h
+++ b/lib/system.h
@@ -29,7 +29,7 @@
#include <sys/time.h>
#ifdef _WIN32
-# if defined(__MINGW32__) && !defined(__MINGW64__) && __MINGW32_MAJOR_VERSION <= 3 && __MINGW32_MINOR_VERSION <= 20
+# if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) && __MINGW32_MAJOR_VERSION <= 3 && __MINGW32_MINOR_VERSION <= 20
# define NEED_CERT_ENUM_CRLS
typedef PCCRL_CONTEXT WINAPI(*CertEnumCRLsInStoreFunc) (HCERTSTORE
hCertStore,