diff options
author | Armin Rigo <arigo@tunes.org> | 2016-01-03 14:55:22 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-01-03 14:55:22 +0100 |
commit | 550cdc132759e268a78fe5bc04d3fdda0ea9cdf1 (patch) | |
tree | 3dcda51fba1f8d52703111fa3090b7a24e17022f | |
parent | a96cc48b5318ced90cc18a7a21d60682228ae59d (diff) | |
download | cffi-550cdc132759e268a78fe5bc04d3fdda0ea9cdf1.tar.gz |
Remove this field if it's not used
-rw-r--r-- | c/misc_thread_common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/misc_thread_common.h b/c/misc_thread_common.h index 779de0b..2dacf12 100644 --- a/c/misc_thread_common.h +++ b/c/misc_thread_common.h @@ -9,9 +9,11 @@ struct cffi_tls_s { had already a thread state provided by CPython. */ PyThreadState *local_thread_state; +#ifndef USE__THREAD /* The saved errno. If the C compiler supports '__thread', then - we use that instead; this value is not used at all in this case. */ + we use that instead. */ int saved_errno; +#endif #ifdef MS_WIN32 /* The saved lasterror, on Windows. */ |