Skip to content

Commit 75511cb

Browse files
authored
POSIX strncasecmp is strnicmp in Windows on Arm
1 parent b8dbc4a commit 75511cb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

driver/others/dynamic_arm64.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@
3838
/*********************************************************************/
3939

4040
#include "common.h"
41+
42+
#ifndef _MSC_VER
4143
#include <strings.h>
44+
#else
45+
#define strncasecmp _strnicmp
46+
#endif
47+
4248
#if (defined OS_LINUX || defined OS_ANDROID)
4349
#include <asm/hwcap.h>
4450
#include <sys/auxv.h>

0 commit comments

Comments
 (0)