test: change for case insensitive argument string match
#define strdup _strdup
#define BSWAP64 _byteswap_uint64
#define __func__ __FUNCTION__
+#define strcasecmp _stricmp
#else
#include <x86intrin.h>
#define BSWAP64 __builtin_bswap64
@@ -2493,7 +2494,7 @@ check_string_arg(const char *param, const char *arg,
}
for (i = 0; i < num_avail_opts; i++)
- if (strcmp(arg, map[i].name) == 0)
+ if (strcasecmp(arg, map[i].name) == 0)
return &(map[i].values);
/* Argument is not listed in the available options */
