1
# DP: Comment out constant exposed on the API which are not implemented on
2
# DP: GNU/Hurd. They would not work at runtime anyway.
4
Index: b/Modules/posixmodule.c
5
===================================================================
6
--- a/Modules/posixmodule.c
7
+++ b/Modules/posixmodule.c
8
@@ -9768,12 +9768,14 @@
10
if (ins(d, "O_LARGEFILE", (long)O_LARGEFILE)) return -1;
14
if (ins(d, "O_SHLOCK", (long)O_SHLOCK)) return -1;
17
if (ins(d, "O_EXLOCK", (long)O_EXLOCK)) return -1;
21
if (ins(d, "PRIO_PROCESS", (long)PRIO_PROCESS)) return -1;
23
Index: b/Modules/socketmodule.c
24
===================================================================
25
--- a/Modules/socketmodule.c
26
+++ b/Modules/socketmodule.c
27
@@ -4896,9 +4896,11 @@
29
PyModule_AddIntConstant(m, "SO_OOBINLINE", SO_OOBINLINE);
33
PyModule_AddIntConstant(m, "SO_REUSEPORT", SO_REUSEPORT);
37
PyModule_AddIntConstant(m, "SO_SNDBUF", SO_SNDBUF);