DescriptionWorkaround to make MemoryBarrier compile on Win x64
windows.h #defines "MemoryBarrier" on x64 (on x86 it's an forceinline function). Because atomicops.h uses MemoryBarrier as the public api name, workaround by #undefing and then calling the implementation directly.
ref: http://msdn.microsoft.com/en-us/library/windows/desktop/ms684208.aspx
R=brettw@chromium.org
BUG=166496
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176859
Patch Set 1 #Patch Set 2 : . #
Messages
Total messages: 5 (0 generated)
|