Skip to content

Commit 878cc3e

Browse files
committed
openssl: don't define SIXTY_FOUR_BIT_LONG on Windows
On Windows (and potentially other LP64 platforms), a long integer is always 32-bits, even when the target architecture uses 64-bit pointers. Signed-off-by: Bert Belder <[email protected]>
1 parent dd7ce69 commit 878cc3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/openssl/config/opensslconf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
# undef SIXTEEN_BIT
222222
# undef EIGHT_BIT
223223
# if defined(_M_X64) || defined(__x86_64__)
224-
# if defined(_WIN64) || defined(_LP64)
224+
# if !defined(_WIN32) && !defined(_LP64)
225225
# define SIXTY_FOUR_BIT_LONG
226226
# else
227227
# define SIXTY_FOUR_BIT

0 commit comments

Comments
 (0)