diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-15 00:04:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 00:04:42 (GMT) |
commit | 62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f (patch) | |
tree | 6fe82dd9494ae4de5041b16e18816973904d110b /Modules/timemodule.c | |
parent | d01628e411752ee6849f862cae66a1c69fe512b7 (diff) | |
download | cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.zip cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.tar.gz cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.tar.bz2 |
bpo-40268: Remove explicit pythread.h includes (#19529)
Remove explicit pythread.h includes: it is always included
by Python.h.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r-- | Modules/timemodule.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index e269cd0..a0e66ac 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -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 |