summaryrefslogtreecommitdiff
path: root/chromium
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-06-08 15:58:15 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-06-08 14:19:56 +0000
commitf11a845f8596cc23a584f259d78317b66e74fe49 (patch)
treeebe75391c43e6eb7f2e51fbb4d3fa980ee1134fd /chromium
parentdc9cb2a1b3d3abfc8b8309ab133d474647838137 (diff)
downloadqtwebengine-chromium-f11a845f8596cc23a584f259d78317b66e74fe49.tar.gz
Fix GCC 4.8 build
GCC 4.8 doesn't ship with the stdatomic.h header. Change-Id: I702194330478b56dbbbb1720e725669543a001ba Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'chromium')
-rw-r--r--chromium/third_party/ffmpeg/libavutil/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/third_party/ffmpeg/libavutil/cpu.c b/chromium/third_party/ffmpeg/libavutil/cpu.c
index fb066200c6c..0c36c90a6b1 100644
--- a/chromium/third_party/ffmpeg/libavutil/cpu.c
+++ b/chromium/third_party/ffmpeg/libavutil/cpu.c
@@ -20,6 +20,8 @@
// Chromium: Windows doesn't provide stdatomic.h, so use the compat version.
#if defined(_MSC_VER)
#include <compat/atomics/win32/stdatomic.h>
+#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) < 409
+#include <compat/atomics/gcc/stdatomic.h>
#else
#include <stdatomic.h>
#endif