From 8c39c6903b94636742c81922a2f26cfa07510fc6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 12 Sep 2016 19:49:27 +0200 Subject: vo_opengl: fix non-C11 TLS fallback for gcc The consequence of this was that e.g. hardware decoding with VAAPI-EGL could sometimes not work if the compiler didn't support C11. (Although I found this one on RPI, which also uses this mechanism.) --- video/out/opengl/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c index 186211da2f..21e6d6799e 100644 --- a/video/out/opengl/context.c +++ b/video/out/opengl/context.c @@ -119,7 +119,7 @@ int mpgl_validate_backend_opt(struct mp_log *log, const struct m_option *opt, #if HAVE_C11_TLS #define MP_TLS _Thread_local -#elif defined(__GNU__) +#elif defined(__GNUC__) #define MP_TLS __thread #endif -- cgit v1.2.3