Skip to content

Commit

Permalink
openssl: don't define SIXTY_FOUR_BIT_LONG on Windows
Browse files Browse the repository at this point in the history
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 <bertbelder@gmail.com>
  • Loading branch information
piscisaureus committed Dec 9, 2014
1 parent dd7ce69 commit 878cc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/openssl/config/opensslconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
# undef SIXTEEN_BIT
# undef EIGHT_BIT
# if defined(_M_X64) || defined(__x86_64__)
# if defined(_WIN64) || defined(_LP64)
# if !defined(_WIN32) && !defined(_LP64)
# define SIXTY_FOUR_BIT_LONG
# else
# define SIXTY_FOUR_BIT
Expand Down

0 comments on commit 878cc3e

Please sign in to comment.