]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-116181: Remove Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE in rotatingtr...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Jul 2024 07:59:26 +0000 (09:59 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Jul 2024 07:59:26 +0000 (07:59 +0000)
gh-116181: Remove Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE in rotatingtree.c (GH-121260)
(cherry picked from commit 705a123898f1394b62076c00ab6008c18fd8e115)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Modules/rotatingtree.c

index 217e495b3d2a9d95b34637177ba91f64b4ceca16..5910e25bed6389182639c04a763e8949c395bc5b 100644 (file)
@@ -1,9 +1,4 @@
-#ifndef Py_BUILD_CORE_BUILTIN
-#  define Py_BUILD_CORE_MODULE 1
-#endif
-
 #include "Python.h"
-#include "pycore_lock.h"
 #include "rotatingtree.h"
 
 #define KEY_LOWER_THAN(key1, key2)  ((char*)(key1) < (char*)(key2))