mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-40268: Remove explicit pythread.h includes (#19529)
Remove explicit pythread.h includes: it is always included by Python.h.
This commit is contained in:
parent
d01628e411
commit
62183b8d6d
28 changed files with 7 additions and 46 deletions
|
@ -25,13 +25,12 @@
|
|||
#endif
|
||||
|
||||
#if defined(__WATCOMC__) && !defined(__QNX__)
|
||||
#include <i86.h>
|
||||
# include <i86.h>
|
||||
#else
|
||||
#ifdef MS_WINDOWS
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "pythread.h"
|
||||
#endif /* MS_WINDOWS */
|
||||
# ifdef MS_WINDOWS
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# include <windows.h>
|
||||
# endif /* MS_WINDOWS */
|
||||
#endif /* !__WATCOMC__ || __QNX__ */
|
||||
|
||||
#ifdef _Py_MEMORY_SANITIZER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue