From 37f409cb9aae06c99a6dff910b1b1d9278190ef1 Mon Sep 17 00:00:00 2001 From: Johns Date: Wed, 25 Jun 2014 15:17:00 +0200 Subject: Use GCC built-in functions for atomic operations. --- video.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video.c') diff --git a/video.c b/video.c index 01bde83..a5b3a5a 100644 --- a/video.c +++ b/video.c @@ -70,8 +70,6 @@ #define _(str) gettext(str) ///< gettext shortcut #define _N(str) str ///< gettext_noop shortcut -#include // portable atomic_t - #ifdef USE_VIDEO_THREAD #ifndef __USE_GNU #define __USE_GNU @@ -179,6 +177,7 @@ typedef enum #define FFMPEG_BUG1_WORKAROUND ///< get_format bug workaround #endif +#include "iatomic.h" // portable atomic_t #include "misc.h" #include "video.h" #include "audio.h" -- cgit v1.2.3