summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Thread.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2008-10-09 08:51:57 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2008-10-09 08:51:57 +0000
commite1eb51a01034348f3eeb94f2e951a1665b5c641b (patch)
tree129c37e9191527adb7770cbeeb8f1fc26721b72d /Source/Core/Common/Src/Thread.cpp
parentc343b8b8bbd39b748fa4b17ace1027490de18e70 (diff)
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
Diffstat (limited to 'Source/Core/Common/Src/Thread.cpp')
-rw-r--r--Source/Core/Common/Src/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/Thread.cpp b/Source/Core/Common/Src/Thread.cpp
index db02b4598e..7254caf539 100644
--- a/Source/Core/Common/Src/Thread.cpp
+++ b/Source/Core/Common/Src/Thread.cpp
@@ -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
}