mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
wolfssl/wolfcrypt/types.h: tweak for buildability in no-PK FIPS, re limits.h.
This commit is contained in:
@@ -212,10 +212,10 @@ decouple library dependencies with standard string, memory and so on.
|
||||
|
||||
/* try to set SIZEOF_LONG or SIZEOF_LONG_LONG if user didn't */
|
||||
#if defined(_WIN32) || defined(HAVE_LIMITS_H)
|
||||
#include <limits.h>
|
||||
/* make sure both SIZEOF_LONG_LONG and SIZEOF_LONG are set,
|
||||
* otherwise causes issues with CTC_SETTINGS */
|
||||
#if !defined(SIZEOF_LONG_LONG) || !defined(SIZEOF_LONG)
|
||||
#include <limits.h>
|
||||
#if !defined(SIZEOF_LONG) && defined(ULONG_MAX) && \
|
||||
(ULONG_MAX == 0xffffffffUL)
|
||||
#define SIZEOF_LONG 4
|
||||
|
Reference in New Issue
Block a user