diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-26 01:18:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 01:18:09 (GMT) |
commit | 6353c21b78a3d91e7cd7810f1c00258a34e85fe7 (patch) | |
tree | fdb9e8068ae4f9fd472718cea32dab935b5064a6 /Modules/fcntlmodule.c | |
parent | 713afb8804666405f29115cf459b591308e3ab54 (diff) | |
download | cpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.zip cpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.tar.gz cpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.tar.bz2 |
gh-106320: Remove private _PyLong_FileDescriptor_Converter() (#108503)
Move the private _PyLong converter functions to the internal C API
* _PyLong_FileDescriptor_Converter(): moved to pycore_fileutils.h
* _PyLong_Size_t_Converter(): moved to pycore_long.h
Argument Clinic now emits includes for pycore_fileutils.h and
pycore_long.h when these functions are used.
Diffstat (limited to 'Modules/fcntlmodule.c')
-rw-r--r-- | Modules/fcntlmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c index e530621..3bf5830 100644 --- a/Modules/fcntlmodule.c +++ b/Modules/fcntlmodule.c @@ -1,5 +1,9 @@ /* fcntl module */ +#ifndef Py_BUILD_CORE_BUILTIN +# define Py_BUILD_CORE_MODULE 1 +#endif + #include "Python.h" #ifdef HAVE_SYS_FILE_H |