diff options
author | Andy Polyakov <appro@openssl.org> | 2007-09-15 17:05:11 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2007-09-15 17:05:11 +0000 |
commit | 77519b51dbfe8652dad58536f6fa21a089080c1d (patch) | |
tree | 4d2fbaae61c460ac5a60ccc3469f4df854bea4c9 /crypto | |
parent | 1a01868e35ea49b57361e1e970aaab1628e37df3 (diff) |
Make bn2dec work on "SIXTY_FOUR_BIT" platforms.
PR: 1456
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/b_print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index b2d6f26f2e..143a7cfefa 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 @@ -116,8 +116,8 @@ #endif #ifdef HAVE_LONG_LONG -# if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__) -# define LLONG _int64 +# if defined(_WIN32) && !defined(__GNUC__) +# define LLONG __int64 # else # define LLONG long long # endif |