summaryrefslogtreecommitdiff
path: root/drivers/builtin_openssl2/openssl/opensslconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/builtin_openssl2/openssl/opensslconf.h')
-rw-r--r--drivers/builtin_openssl2/openssl/opensslconf.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/builtin_openssl2/openssl/opensslconf.h b/drivers/builtin_openssl2/openssl/opensslconf.h
index 25429e94d6..c86bb60b94 100644
--- a/drivers/builtin_openssl2/openssl/opensslconf.h
+++ b/drivers/builtin_openssl2/openssl/opensslconf.h
@@ -213,8 +213,13 @@ extern "C" {
#ifdef OPENSSL_USE_64_BITS
-#define SIXTY_FOUR_BIT_LONG
-#undef SIXTY_FOUR_BIT
+# ifdef _WIN32
+# undef SIXTY_FOUR_BIT_LONG
+# define SIXTY_FOUR_BIT
+# else
+# define SIXTY_FOUR_BIT_LONG
+# undef SIXTY_FOUR_BIT
+# endif
#undef THIRTY_TWO_BIT
#else