Make bn2dec work on "SIXTY_FOUR_BIT" platforms.

PR: 1456
This commit is contained in:
Andy Polyakov 2007-09-15 17:05:11 +00:00
parent 1a01868e35
commit 77519b51db

View 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
@ -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