summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLPFaint99 <lpfaint99@gmail.com>2009-07-11 03:10:10 +0000
committerLPFaint99 <lpfaint99@gmail.com>2009-07-11 03:10:10 +0000
commitdc30df7dca0b2bad0c67dc1eef426b6e17c80ca0 (patch)
tree58c7bd744dfaa015928744200f548b0b8be97ca1 /Source
parentdc7d9ab9981e5b722e6bb7a0e1631e867dd79e1e (diff)
fix building in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3741 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Common/Src/Thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/Thread.h b/Source/Core/Common/Src/Thread.h
index 55c2e62a2d..4820f660c6 100644
--- a/Source/Core/Common/Src/Thread.h
+++ b/Source/Core/Common/Src/Thread.h
@@ -74,14 +74,14 @@ namespace Common
// MemFence: Neither the compiler nor the CPU can reorder memory accesses
// beyond this barrier.
+#ifdef _WIN32
__forceinline void MemFence()
{
-#ifdef _WIN32
MemoryBarrier();
+}
#else
// TODO: UNIX experts, please implement the memory fence.
#endif
-}
class CriticalSection
{