From 2b616c0682a894152b06ef7249b32ef17037b3e5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 11 May 2017 17:41:54 +0200 Subject: vo_opengl: drop TLS usage TLS is a headache. We should avoid it if we can. The involved mechanism is unfortunately entangled with the unfortunate libmpv API for returning pointers to host API objects. This has to be kept until we change the API somehow. Practically untested out of pure laziness. I'm sure I'll get a bunch of reports if it's broken. --- wscript | 8 -------- 1 file changed, 8 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index e051555545..75925c8098 100644 --- a/wscript +++ b/wscript @@ -176,14 +176,6 @@ main_dependencies = [ 'func': check_true, 'req': True, 'deps_any': ['stdatomic', 'gnuc'], - }, { - 'name': 'c11-tls', - 'desc': 'C11 TLS support', - 'func': check_statement('stddef.h', 'static _Thread_local int x = 0'), - }, { - 'name': 'gcc-tls', - 'desc': 'GCC TLS support', - 'func': check_statement('stddef.h', 'static __thread int x = 0'), }, { 'name': 'librt', 'desc': 'linking with -lrt', -- cgit v1.2.3