OSDN Git Service

w32pthreads: fix mingw build on x86 with -msse2 or higher
authorHendrik Leppkes <h.leppkes@gmail.com>
Wed, 14 Oct 2015 21:20:09 +0000 (23:20 +0200)
committerHendrik Leppkes <h.leppkes@gmail.com>
Fri, 16 Oct 2015 12:54:48 +0000 (14:54 +0200)
commit97be5d4d200755c5077684e6ea003d3c452b0b4a
treed5a5cebe8c8850a0909b29b6fad81b2965a1ca12
parente12908d71e7a0b0f61db5f28b6475a7843c07354
w32pthreads: fix mingw build on x86 with -msse2 or higher

When SSE2 or higher compiler optimizations are used, mingw uses
the _mm_mfence intrinsic for MemoryBarrier, however it doesn't include
the appropriate headers automatically.
compat/w32pthreads.h