Skip to content

Commit

Permalink
Merge pull request #7584 from Frauschi/zephyr_fix
Browse files Browse the repository at this point in the history
Zephyr fix for XSTRNCASECMP
  • Loading branch information
dgarske committed May 24, 2024
2 parents d28dd60 + 30eb26b commit 76e7d86
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 @@ -770,7 +770,7 @@ typedef struct w64wrapper {
defined(WOLFSSL_ZEPHYR) || defined(MICROCHIP_PIC24)
/* XC32 version < 1.0 does not support strncasecmp. */
#define USE_WOLF_STRNCASECMP
#define XSTRNCASECMP(s1,s2) wc_strncasecmp(s1,s2)
#define XSTRNCASECMP(s1,s2,n) wc_strncasecmp((s1),(s2),(n))
#elif defined(USE_WINDOWS_API) || defined(FREERTOS_TCP_WINSIM)
#define XSTRNCASECMP(s1,s2,n) _strnicmp((s1),(s2),(n))
#else
Expand Down

0 comments on commit 76e7d86

Please sign in to comment.