mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Merge pull request #5742 from SparkiDev/sp_int_64bit_type
SP int: guess 64-bit type
This commit is contained in:
@ -146,6 +146,11 @@ extern "C" {
|
|||||||
#else
|
#else
|
||||||
#error "Size of unsigned long long not detected"
|
#error "Size of unsigned long long not detected"
|
||||||
#endif
|
#endif
|
||||||
|
#elif SP_ULONG_BITS == 32
|
||||||
|
/* Speculatively use long long as the 64-bit type as we don't have one
|
||||||
|
* otherwise. */
|
||||||
|
typedef unsigned long long sp_uint64;
|
||||||
|
typedef long long sp_int64;
|
||||||
#else
|
#else
|
||||||
#define SP_ULLONG_BITS 0
|
#define SP_ULLONG_BITS 0
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user