Skip to content

Commit

Permalink
wolfssl/wolfcrypt/types.h: tweak for buildability in no-PK FIPS, re l…
Browse files Browse the repository at this point in the history
…imits.h.
  • Loading branch information
douzzer committed Jan 23, 2025
1 parent 589a267 commit f3a7a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/wolfcrypt/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3a7a9a

Please sign in to comment.