Remove option HAVE_LONGLONG
diff --git a/ChangeLog b/ChangeLog
index e3afb19..e3dba17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
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).
diff --git a/configs/config-picocoin.h b/configs/config-picocoin.h
index c5f974c..4f6f3e2 100644
--- a/configs/config-picocoin.h
+++ b/configs/config-picocoin.h
@@ -13,7 +13,6 @@
#define MBEDTLS_CONFIG_H
/* System support */
-#define MBEDTLS_HAVE_LONGLONG
#define MBEDTLS_HAVE_ASM
#define MBEDTLS_HAVE_TIME
diff --git a/include/mbedtls/bignum.h b/include/mbedtls/bignum.h
index 68ac65b..88fc86e 100644
--- a/include/mbedtls/bignum.h
+++ b/include/mbedtls/bignum.h
@@ -138,15 +138,8 @@
#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 */
diff --git a/include/mbedtls/compat-1.3.h b/include/mbedtls/compat-1.3.h
index 7b8c3bf..7b98317 100644
--- a/include/mbedtls/compat-1.3.h
+++ b/include/mbedtls/compat-1.3.h
@@ -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
diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
index 80e50f2..46cc7ae 100644
--- a/include/mbedtls/config.h
+++ b/include/mbedtls/config.h
@@ -40,14 +40,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
*
* The compiler has support for asm().
diff --git a/library/version_features.c b/library/version_features.c
index 855174c..de9c1bb 100644
--- a/library/version_features.c
+++ b/library/version_features.c
@@ -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 */