Skip to content

Commit

Permalink
Merge pull request wolfSSL#7584 from Frauschi/zephyr_fix
Browse files Browse the repository at this point in the history
Zephyr fix for XSTRNCASECMP
  • Loading branch information
dgarske authored and jefferyq2 committed Jun 9, 2024
1 parent 2c68a73 commit bc770a9
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 bc770a9

Please sign in to comment.