summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2019-10-21 07:01:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-10-21 07:01:05 (GMT)
commit2eba6ad7bf3a5beeed54209a0107be8e1ac77767 (patch)
treec48beb385ccecbbaec8a892ea9972a795fda09c9 /Modules
parenta9ed91e6c2f0f1a9960b1382321918448228a801 (diff)
downloadcpython-2eba6ad7bf3a5beeed54209a0107be8e1ac77767.zip
cpython-2eba6ad7bf3a5beeed54209a0107be8e1ac77767.tar.gz
cpython-2eba6ad7bf3a5beeed54209a0107be8e1ac77767.tar.bz2
bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 6864970..dcd90d3 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -14057,12 +14057,18 @@ all_ins(PyObject *m)
#ifdef CLD_EXITED
if (PyModule_AddIntMacro(m, CLD_EXITED)) return -1;
#endif
+#ifdef CLD_KILLED
+ if (PyModule_AddIntMacro(m, CLD_KILLED)) return -1;
+#endif
#ifdef CLD_DUMPED
if (PyModule_AddIntMacro(m, CLD_DUMPED)) return -1;
#endif
#ifdef CLD_TRAPPED
if (PyModule_AddIntMacro(m, CLD_TRAPPED)) return -1;
#endif
+#ifdef CLD_STOPPED
+ if (PyModule_AddIntMacro(m, CLD_STOPPED)) return -1;
+#endif
#ifdef CLD_CONTINUED
if (PyModule_AddIntMacro(m, CLD_CONTINUED)) return -1;
#endif