mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
String function fixes for mingw.
This commit is contained in:
@ -88,7 +88,7 @@ hsBool NameMatches(const char* obName, const char* pKName, hsBool subString)
|
||||
|
||||
if (!subString)
|
||||
{
|
||||
if (!_stricmp(o, p))
|
||||
if (!stricmp(o, p))
|
||||
return true; // FOUND IT!!!!!!!!!!!!!!!!!!!
|
||||
}
|
||||
else
|
||||
|
@ -298,7 +298,8 @@ hsBool plResManager::ReadObject(plKeyImp* key)
|
||||
// it will just inc/dec the open/close count during its read, and not actually
|
||||
// close the stream, so we don't lose our place, lose our file handle, and thrash.
|
||||
|
||||
kResMgrLog(4, ILog(4, " ...Opening page data stream for location 0x%x...", key->GetUoid().GetLocation()));
|
||||
char locstr[64];
|
||||
kResMgrLog(4, ILog(4, " ...Opening page data stream for location %s...", key->GetUoid().GetLocation().StringIze(locstr)));
|
||||
plRegistryPageNode *pageNode = FindPage(key->GetUoid().GetLocation());
|
||||
if (!pageNode)
|
||||
{
|
||||
|
@ -30,6 +30,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include <set>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
class plRegistryPageNode;
|
||||
class plRegistryKeyIterator;
|
||||
|
@ -26,6 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plVersion.h"
|
||||
#include "pnFactory/plFactory.h"
|
||||
#include <vector>
|
||||
#include <cstring>
|
||||
|
||||
#include "plCreatableIndex.h"
|
||||
#define ChangedCreatable(ver, creatable) if (minorVersion == ver) creatables.push_back(CLASS_INDEX_SCOPED(creatable));
|
||||
|
Reference in New Issue
Block a user