mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 00:40:56 +00:00
Fix MSVC compilation (#181)
This commit is contained in:
parent
46e9e64500
commit
bc3d2e9aec
1 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ const int kTagCount = sizeof(tags) / sizeof(tag_t);
|
||||||
|
|
||||||
int qsort_compar(const void *a, const void *b)
|
int qsort_compar(const void *a, const void *b)
|
||||||
{
|
{
|
||||||
return strcasecmp((const char*)a, (const char*)b);
|
return Bstrcasecmp((const char*)a, (const char*)b);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SortTags()
|
void SortTags()
|
||||||
|
@ -407,7 +407,7 @@ uint8_t RFS::GetNextTag()
|
||||||
}
|
}
|
||||||
|
|
||||||
// eax = strnicmp(tags[i]._value, scriptBuffer, ebp);
|
// eax = strnicmp(tags[i]._value, scriptBuffer, ebp);
|
||||||
eax = strncasecmp(scriptBuffer, tags[i]._value, ebp);
|
eax = Bstrncasecmp(scriptBuffer, tags[i]._value, ebp);
|
||||||
|
|
||||||
//if (eax >= 0) {
|
//if (eax >= 0) {
|
||||||
if (eax == 0) {
|
if (eax == 0) {
|
||||||
|
@ -631,7 +631,7 @@ void ParseScript(char *scriptFileName)
|
||||||
// check if this was defined via command prompt arguments
|
// check if this was defined via command prompt arguments
|
||||||
for (int i = 0; i < nCmdDefines; i++)
|
for (int i = 0; i < nCmdDefines; i++)
|
||||||
{
|
{
|
||||||
if (strcasecmp(gCmdDefines[i]._text, char256_1) == 0) { // string is equivalent
|
if (Bstrcasecmp(gCmdDefines[i]._text, char256_1) == 0) { // string is equivalent
|
||||||
bGotDefine = true;
|
bGotDefine = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue