From b19f10aba71a552367f8bd78b4edd324e6515573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 27 Apr 2016 10:58:41 -0700 Subject: [PATCH] Cleanup. --- include/bx/string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bx/string.h b/include/bx/string.h index 5dc5a43..6b7dc72 100644 --- a/include/bx/string.h +++ b/include/bx/string.h @@ -19,7 +19,7 @@ namespace bx /// inline bool toBool(const char* _str) { - char ch = (char)tolower(_str[0]); + char ch = (char)::tolower(_str[0]); return ch == 't' || ch == '1'; } @@ -27,9 +27,9 @@ namespace bx inline int32_t stricmp(const char* _a, const char* _b) { #if BX_COMPILER_MSVC_COMPATIBLE - return _stricmp(_a, _b); + return ::_stricmp(_a, _b); #else - return strcasecmp(_a, _b); + return ::strcasecmp(_a, _b); #endif // BX_COMPILER_ }