File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ _Py_ThreadCanHandleSignals(PyInterpreterState *interp)
8989/* Variable and static inline functions for in-line access to current thread
9090 and interpreter state */
9191
92- #if defined( HAVE_THREAD_LOCAL ) && !defined(Py_BUILD_CORE_MODULE )
92+ #if !defined(Py_BUILD_CORE_MODULE )
9393extern _Py_thread_local PyThreadState * _Py_tss_tstate ;
9494extern _Py_thread_local PyInterpreterState * _Py_tss_interp ;
9595#endif
@@ -115,7 +115,7 @@ PyAPI_FUNC(PyThreadState *) _PyThreadState_GetCurrent(void);
115115static inline PyThreadState *
116116_PyThreadState_GET (void )
117117{
118- #if defined( HAVE_THREAD_LOCAL ) && !defined(Py_BUILD_CORE_MODULE )
118+ #if !defined(Py_BUILD_CORE_MODULE )
119119 return _Py_tss_tstate ;
120120#else
121121 return _PyThreadState_GetCurrent ();
You can’t perform that action at this time.
0 commit comments