Merge pull request #2098 from Tilka/fix_warning
Fix -Wmissing-variable-declarations warning
This commit is contained in:
commit
03ffab4249
1 file changed
+1
-1
@@ -106,7 +106,7 @@ static int s_pause_and_lock_depth = 0;
|
|||||||
static bool s_is_framelimiter_temp_disabled = false;
|
static bool s_is_framelimiter_temp_disabled = false;
|
||||||
|
|
||||||
#ifdef ThreadLocalStorage
|
#ifdef ThreadLocalStorage
|
||||||
ThreadLocalStorage bool tls_is_cpu_thread = false;
|
static ThreadLocalStorage bool tls_is_cpu_thread = false;
|
||||||
#else
|
#else
|
||||||
static pthread_key_t s_tls_is_cpu_key;
|
static pthread_key_t s_tls_is_cpu_key;
|
||||||
static pthread_once_t s_cpu_key_is_init = PTHREAD_ONCE_INIT;
|
static pthread_once_t s_cpu_key_is_init = PTHREAD_ONCE_INIT;
|
||||||
|
|||||||
Reference in new issue
Block a user