vcpkg/ports/cppmicroservices/fix_strnicmp.patch
jim wang 0d5ed93c6d
[cppmicroservices] Update to 3.7.6 (#33858)
* Generate Imath.pc

* update version

* add dependency imath minizip-ng

* updata version

* update version

* update to 3.7.6

* update version
2023-09-22 16:03:14 -07:00

14 lines
394 B
Diff

diff --git a/framework/src/util/PropsCheck.h b/framework/src/util/PropsCheck.h
index 26acd33..930a328 100644
--- a/framework/src/util/PropsCheck.h
+++ b/framework/src/util/PropsCheck.h
@@ -47,7 +47,7 @@
#ifdef US_PLATFORM_WINDOWS
# include <string.h>
-# define ci_compare strnicmp
+# define ci_compare _strnicmp
#else
# include <strings.h>
# define ci_compare strncasecmp