openssl: don't define SIXTY_FOUR_BIT_LONG on Windows
authorBert Belder <bertbelder@gmail.com>
Tue, 9 Dec 2014 14:46:59 +0000 (15:46 +0100)
committerBert Belder <bertbelder@gmail.com>
Tue, 9 Dec 2014 14:46:59 +0000 (15:46 +0100)
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>
deps/openssl/config/opensslconf.h

index 37e5c4f..fb4c6c5 100644 (file)
 # 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