Remove option HAVE_LONGLONG
This commit is contained in:
parent
7b53889f05
commit
975d5fa206
6 changed files with 3 additions and 24 deletions
|
@ -9,6 +9,7 @@ Features
|
|||
to override the whole module.
|
||||
|
||||
API Changes
|
||||
* Configuration options POLARSSL_HAVE_LONGLONG was removed (now always on).
|
||||
* Configuration options POLARSSL_HAVE_INT8 and POLARSSL_HAVE_INT16 have
|
||||
been removed (compiler is required to support 32-bit operations).
|
||||
* Configuration option POLARSSL_HAVE_IPV6 was removed (always enabled).
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#define MBEDTLS_CONFIG_H
|
||||
|
||||
/* System support */
|
||||
#define MBEDTLS_HAVE_LONGLONG
|
||||
#define MBEDTLS_HAVE_ASM
|
||||
#define MBEDTLS_HAVE_TIME
|
||||
|
||||
|
|
|
@ -138,15 +138,8 @@ typedef UINT64 uint64_t;
|
|||
#define MBEDTLS_HAVE_INT32
|
||||
typedef int32_t mbedtls_mpi_sint;
|
||||
typedef uint32_t mbedtls_mpi_uint;
|
||||
#if ( defined(_MSC_VER) && defined(_M_IX86) )
|
||||
typedef uint64_t mbedtls_t_udbl;
|
||||
#define MBEDTLS_HAVE_UDBL
|
||||
#else
|
||||
#if defined( MBEDTLS_HAVE_LONGLONG )
|
||||
typedef unsigned long long mbedtls_t_udbl;
|
||||
#define MBEDTLS_HAVE_UDBL
|
||||
#endif
|
||||
#endif
|
||||
typedef uint64_t mbedtls_t_udbl;
|
||||
#define MBEDTLS_HAVE_UDBL
|
||||
#endif /* !MBEDTLS_HAVE_INT32 && __GNUC__ && 64-bit platform */
|
||||
#endif /* !MBEDTLS_HAVE_INT32 && _MSC_VER && _M_AMD64 */
|
||||
|
||||
|
|
|
@ -240,9 +240,6 @@
|
|||
#if defined MBEDTLS_HAVE_ASM
|
||||
#define POLARSSL_HAVE_ASM MBEDTLS_HAVE_ASM
|
||||
#endif
|
||||
#if defined MBEDTLS_HAVE_LONGLONG
|
||||
#define POLARSSL_HAVE_LONGLONG MBEDTLS_HAVE_LONGLONG
|
||||
#endif
|
||||
#if defined MBEDTLS_HAVE_SSE2
|
||||
#define POLARSSL_HAVE_SSE2 MBEDTLS_HAVE_SSE2
|
||||
#endif
|
||||
|
|
|
@ -39,14 +39,6 @@
|
|||
* \{
|
||||
*/
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_HAVE_LONGLONG
|
||||
*
|
||||
* The compiler supports the 'long long' type.
|
||||
* (Only used on 32-bit platforms)
|
||||
*/
|
||||
#define MBEDTLS_HAVE_LONGLONG
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_HAVE_ASM
|
||||
*
|
||||
|
|
|
@ -39,9 +39,6 @@
|
|||
|
||||
static const char *features[] = {
|
||||
#if defined(MBEDTLS_VERSION_FEATURES)
|
||||
#if defined(MBEDTLS_HAVE_LONGLONG)
|
||||
"MBEDTLS_HAVE_LONGLONG",
|
||||
#endif /* MBEDTLS_HAVE_LONGLONG */
|
||||
#if defined(MBEDTLS_HAVE_ASM)
|
||||
"MBEDTLS_HAVE_ASM",
|
||||
#endif /* MBEDTLS_HAVE_ASM */
|
||||
|
|
Loading…
Reference in a new issue