fix building in linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3741 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99 2009-07-11 03:10:10 +00:00
parent dc7d9ab998
commit dc30df7dca
1 changed files with 2 additions and 2 deletions

View File

@ -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
{