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:
Victor Stinner 2020-04-15 02:04:42 +02:00 committed by GitHub
parent d01628e411
commit 62183b8d6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 7 additions and 46 deletions

View file

@ -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