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.)
This commit is contained in:
wm4 2016-09-12 19:49:27 +02:00
parent e8cdc22245
commit 8c39c6903b
1 changed files with 1 additions and 1 deletions

View File

@ -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