Skip to content

Commit edbddda

Browse files
committed
Define Py_BUILD_CORE_BUILTIN; run make clinic
1 parent 4e1e3bf commit edbddda

File tree

2 files changed

+17
-26
lines changed

2 files changed

+17
-26
lines changed

Modules/clinic/fcntlmodule.c.h

Lines changed: 12 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/fcntlmodule.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
/* fcntl module */
22

3+
// Argument Clinic uses the internal C API
4+
#ifndef Py_BUILD_CORE_BUILTIN
5+
# define Py_BUILD_CORE_MODULE 1
6+
#endif
7+
38
#include "Python.h"
49

510
#include <errno.h> // EINTR

0 commit comments

Comments
 (0)