Commit c1b712e0 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '407ac223'

* commit '407ac223':
  w32pthreads: Map MemoryBarrier to __sync_synchronize on mingw
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 859c4ae4 407ac223
......@@ -39,9 +39,9 @@
#include <windows.h>
#include <process.h>
/* MinGW requires the intrinsics header for the pthread_once fallback code */
#if _WIN32_WINNT < 0x0600 && defined(__MINGW32__)
#include <intrin.h>
#undef MemoryBarrier
#define MemoryBarrier __sync_synchronize
#endif
#include "libavutil/attributes.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment