void-packages/srcpkgs/python/patches/fix-pr-21.patch

18 lines
384 B
Diff

--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -947,7 +947,6 @@
#define Py_ULL(x) Py_LL(x##U)
#endif
-#ifdef Py_BUILD_CORE
/*
* Macros to protect CRT calls against instant termination when passed an
* invalid parameter (issue23524).
@@ -965,6 +964,5 @@
#define _Py_END_SUPPRESS_IPH
#endif /* _MSC_VER >= 1900 */
-#endif /* Py_BUILD_CORE */
#endif /* Py_PYPORT_H */