mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +00:00
Merge commit '407ac22322e5ce67996ec54ef619cafa4c9ceb78'
* commit '407ac22322e5ce67996ec54ef619cafa4c9ceb78': w32pthreads: Map MemoryBarrier to __sync_synchronize on mingw Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
c1b712e078
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user