Linux build fix
This commit is contained in:
parent
b8d15838c5
commit
8ce9ad6cf1
1 changed files with 4 additions and 0 deletions
|
@ -242,7 +242,11 @@ bool SymbolMap::getSymbolValue(char* symbol, u32& dest)
|
||||||
for (size_t i = 0, n = entries.size(); i < n; i++)
|
for (size_t i = 0, n = entries.size(); i < n; i++)
|
||||||
{
|
{
|
||||||
MapEntry &entry = entries[i];
|
MapEntry &entry = entries[i];
|
||||||
|
#ifdef _WIN32
|
||||||
if (stricmp(entry.name,symbol) == 0)
|
if (stricmp(entry.name,symbol) == 0)
|
||||||
|
#else
|
||||||
|
if (strcasecmp(entry.name,symbol) == 0)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
dest = entries[i].address;
|
dest = entries[i].address;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue