[x264-devel] [PATCH] Fix race condition in win32 threading init

Henrik Gramner henrik at gramner.com
Thu Mar 2 17:34:13 CET 2017


On Thu, Mar 2, 2017 at 11:03 AM, Andrey Turkin <andrey.turkin at gmail.com> wrote:
> +#if _WIN32_WINNT < 0x0600 && defined(__MINGW32__)
> +#undef MemoryBarrier
> +#define MemoryBarrier __sync_synchronize
> +#endif

What about the case of _WIN32_WINNT < 0x0600 && !defined(__MINGW32__)?


More information about the x264-devel mailing list