mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -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_
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user