Adding strings.h header. (#1074)

This commit is contained in:
Daniel Lemire 2020-07-25 15:27:19 -04:00 committed by GitHub
parent 857d77a10a
commit e33af1a3f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ use a 64-bit target such as x64 or 64-bit ARM.")
// The strcasecmp, strncasecmp, and strcasestr functions do not work with multibyte strings (e.g. UTF-8).
// So they are only useful for ASCII in our context.
// https://www.gnu.org/software/libunistring/manual/libunistring.html#char-_002a-strings
#include <strings.h>
#define simdjson_strcasecmp strcasecmp
#define simdjson_strncasecmp strncasecmp
#endif