Fix Building in Linux, removed the define for _T() in Common.h so now we can have wx headers after including Common.h. Also, InterlockedExchange isn't in Linux so I just made it assign the variable

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@809 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-10-09 08:51:57 +00:00
parent c343b8b8bb
commit e1eb51a010
9 changed files with 23 additions and 18 deletions

View File

@ -350,7 +350,7 @@ int InterlockedExchangeAdd(int *Addend, int Increment)
#if defined(__GNUC__) && defined (__GNUC_MINOR__) && ((4 < __GNUC__) || (4 == __GNUC__ && 1 <= __GNUC_MINOR__))
return __sync_add_and_fetch(Addend, Increment);
#else
#error Sorry - GCC versions that don't support __sync_add_and_fetch are not supported.
#error Sorry - GCC versions that does not support __sync_add_and_fetch are not supported.
// TODO support old gcc
#endif
}