Fix for SGX build after C99 changes strings.h: No such file or directory
.
This commit is contained in:
parent
3c684886ad
commit
a9f32c30da
@ -332,7 +332,8 @@
|
||||
#elif defined(USE_WINDOWS_API)
|
||||
#define XSTRNCASECMP(s1,s2,n) _strnicmp((s1),(s2),(n))
|
||||
#else
|
||||
#if defined(HAVE_STRINGS_H) || defined(WOLF_C99)
|
||||
#if (defined(HAVE_STRINGS_H) || defined(WOLF_C99)) && \
|
||||
!defined(WOLFSSL_SGX)
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#define XSTRNCASECMP(s1,s2,n) strncasecmp((s1),(s2),(n))
|
||||
|
Loading…
x
Reference in New Issue
Block a user