w32pthreads: Map MemoryBarrier to __sync_synchronize on mingw
authorMartin Storsjö <martin@martin.st>
Wed, 28 Oct 2015 20:20:43 +0000 (22:20 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 30 Oct 2015 18:15:11 +0000 (20:15 +0200)
commit407ac22322e5ce67996ec54ef619cafa4c9ceb78
treeb3a996e86ecf5985496dd23cc837360e53ce001c
parenta0562e531723923b632684c7b51a9dd584bf534f
w32pthreads: Map MemoryBarrier to __sync_synchronize on mingw

This fixes building on older mingw (both mingw.org and mingw64;
mingw64 from before May 2011).

Signed-off-by: Martin Storsjö <martin@martin.st>
compat/w32pthreads.h