Skip to content

Commit 97546f0

Browse files
committed
Extra undefines
1 parent eb7cf42 commit 97546f0

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

pyconfig-extra.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* NOTE: The following definitions are copied into place
3+
* _in addition_ to the rest of the file which is auto-generated.
4+
*
5+
* They are here to explicitly switch off or override certain
6+
* auto-detected features, or to avoid compilation bugs.
7+
*/
8+
9+
#ifndef Py_PYCONFIG_EXTRAS_H
10+
#define Py_PYCONFIG_EXTRAS_H
11+
12+
#undef HAVE_MKNOD
13+
#undef HAVE_DEVICE_MACROS
14+
15+
#undef HAVE_EPOLL
16+
#undef HAVE_EPOLL_CREATE1
17+
#undef HAVE_LINUX_VM_SOCKETS_H
18+
#undef HAVE_SOCKETPAIR
19+
#undef HAVE_UTIMENSAT
20+
#undef HAVE_SIGACTION
21+
22+
#define CONFIG_32
23+
#define ANSI
24+
25+
#endif
26+

0 commit comments

Comments
 (0)