summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-15 17:10:13 +0000
committerAndy Polyakov <appro@openssl.org>2007-09-15 17:10:13 +0000
commit1840f9e70ca08468bdaf80fe8832fc7c76eb7cb1 (patch)
treea5b64d23ecaa536da44b145b1153099cfb25a571
parent24a8621b0fe6ee10b7440aa7d915cf2dd1b57695 (diff)
downloadopenssl-new-1840f9e70ca08468bdaf80fe8832fc7c76eb7cb1.tar.gz
Make bn2dec work on "SIXTY_FOUR_BIT" platforms [from HEAD].
PR: 1456
-rw-r--r--crypto/bio/b_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c
index 165f046295..27b4f4b6f5 100644
--- a/crypto/bio/b_print.c
+++ b/crypto/bio/b_print.c
@@ -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
@@ -117,7 +117,7 @@
#if HAVE_LONG_LONG
# if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__)
-# define LLONG _int64
+# define LLONG __int64
# else
# define LLONG long long
# endif