diff --git a/hecl/extern/libBoo b/hecl/extern/libBoo index c499a29e9..147115b6a 160000 --- a/hecl/extern/libBoo +++ b/hecl/extern/libBoo @@ -1 +1 @@ -Subproject commit c499a29e90b7aafabd24cfb09e844b8404af077d +Subproject commit 147115b6ac56f04dc49b030aca3f1356a8efa484 diff --git a/hecl/include/HECL/HECL.hpp b/hecl/include/HECL/HECL.hpp index 7f038f57b..93b04b108 100644 --- a/hecl/include/HECL/HECL.hpp +++ b/hecl/include/HECL/HECL.hpp @@ -379,6 +379,15 @@ static inline int StrCmp(const SystemChar* str1, const SystemChar* str2) #endif } +static inline int StrCaseCmp(const SystemChar* str1, const SystemChar* str2) +{ +#if HECL_UCS2 + return _wcsicmp(str1, str2); +#else + return strcasecmp(str1, str2); +#endif +} + #define FORMAT_BUF_SZ 1024 #if __GNUC__