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:
parent
dc7d9ab998
commit
dc30df7dca
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue