Linux build fix

This commit is contained in:
Kingcom 2013-06-29 17:53:45 +02:00
parent b8d15838c5
commit 8ce9ad6cf1

View file

@ -242,7 +242,11 @@ bool SymbolMap::getSymbolValue(char* symbol, u32& dest)
for (size_t i = 0, n = entries.size(); i < n; i++)
{
MapEntry &entry = entries[i];
#ifdef _WIN32
if (stricmp(entry.name,symbol) == 0)
#else
if (strcasecmp(entry.name,symbol) == 0)
#endif
{
dest = entries[i].address;
return true;