Skip to content

Commit b5993de

Browse files
More pyconfig fixes
1 parent 82a8eb9 commit b5993de

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

python_config/pyconfig.h

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,7 @@
204204
#define HAVE_DUP2 1
205205

206206
/* Define to 1 if you have the `dup3' function. */
207-
#define HAVE_DUP3 1
208-
209-
/* O_CLOEXEC is not supported, but ignoring it should be fine here */
210-
#define O_CLOEXEC 0
207+
/* #define HAVE_DUP3 1 */ // original: #define HAVE_DUP3 1
211208

212209
/* Defined when any dynamic module loading is enabled. */
213210
#undef HAVE_DYNAMIC_LOADING // original: #define HAVE_DYNAMIC_LOADING 1
@@ -246,7 +243,7 @@
246243
#define HAVE_FCHMOD 1
247244

248245
/* Define to 1 if you have the `fchmodat' function. */
249-
#define HAVE_FCHMODAT 1
246+
/* #define HAVE_FCHMODAT 1 */ // original: #define HAVE_FCHMODAT 1
250247

251248
/* Define to 1 if you have the `fchown' function. */
252249
/* #define HAVE_FCHOWN 1 */ // original: #define HAVE_FCHOWN 1
@@ -312,10 +309,10 @@
312309
/* #define HAVE_FUTIMENS 1 */ // original: #define HAVE_FUTIMENS 1
313310

314311
/* Define to 1 if you have the `futimes' function. */
315-
#define HAVE_FUTIMES 1
312+
/* #define HAVE_FUTIMES 1 */ // original: #define HAVE_FUTIMES 1
316313

317314
/* Define to 1 if you have the `futimesat' function. */
318-
#define HAVE_FUTIMESAT 1
315+
/* #define HAVE_FUTIMESAT 1 */ // original: #define HAVE_FUTIMESAT 1
319316

320317
/* Define to 1 if you have the `gai_strerror' function. */
321318
#define HAVE_GAI_STRERROR 1
@@ -579,7 +576,7 @@
579576
/* #define HAVE_LSTAT 1 */ // original: #define HAVE_LSTAT 1
580577

581578
/* Define to 1 if you have the `lutimes' function. */
582-
#define HAVE_LUTIMES 1
579+
/* #define HAVE_LUTIMES 1 */ // original: #define HAVE_LUTIMES 1
583580

584581
/* Define this if you have the makedev macro. */
585582
/* #define HAVE_MAKEDEV 1 */ // original: #define HAVE_MAKEDEV 1
@@ -651,7 +648,7 @@
651648
#undef HAVE_PAUSE // original: #define HAVE_PAUSE 1
652649

653650
/* Define to 1 if you have the `pipe2' function. */
654-
#define HAVE_PIPE2 1
651+
/* #define HAVE_PIPE2 1 */ // original: #define HAVE_PIPE2 1
655652

656653
/* Define to 1 if you have the `plock' function. */
657654
/* #define HAVE_PLOCK 1 */ // original: #define HAVE_PLOCK 1
@@ -1187,7 +1184,7 @@
11871184
/* #undef HAVE_WORKING_TZSET */
11881185

11891186
/* Define to 1 if you have the `writev' function. */
1190-
#define HAVE_WRITEV 1
1187+
/* #define HAVE_WRITEV 1 */ // orignal: #define HAVE_WRITEV 1
11911188

11921189
/* Define if the zlib library has inflateCopy */
11931190
/* #undef HAVE_ZLIB_COPY */

0 commit comments

Comments
 (0)