From 3c0ae75aa25b01ce55bdc3c13f6bedb1d3832159 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Fri, 22 Jan 2016 17:38:51 -1000 Subject: [PATCH] Update boo --- hecl/extern/libBoo | 2 +- hecl/include/HECL/HECL.hpp | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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__