Make bn2dec work on "SIXTY_FOUR_BIT" platforms [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Sat, 15 Sep 2007 17:10:13 +0000 (17:10 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 15 Sep 2007 17:10:13 +0000 (17:10 +0000)
PR: 1456

crypto/bio/b_print.c

index 165f046295df98137db028fa313051f5a757979f..27b4f4b6f531264a8dc9d8acf3a59e2f990012a7 100644 (file)
@@ -79,7 +79,7 @@
 #include <openssl/bn.h>         /* To get BN_LLONG properly defined */
 #include <openssl/bio.h>
 
-#ifdef BN_LLONG
+#if defined(BN_LLONG) || defined(SIXTY_FOUR_BIT)
 # ifndef HAVE_LONG_LONG
 #  define HAVE_LONG_LONG 1
 # endif
 
 #if HAVE_LONG_LONG
 # if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__)
-# define LLONG _int64
+# define LLONG __int64
 # else
 # define LLONG long long
 # endif