summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/posixmodule.h')
-rw-r--r--Modules/posixmodule.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/posixmodule.h b/Modules/posixmodule.h
index 1ec1833..1e00562 100644
--- a/Modules/posixmodule.h
+++ b/Modules/posixmodule.h
@@ -17,8 +17,17 @@ PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
#endif /* MS_WINDOWS */
+
+#if defined(PYPTHREAD_SIGMASK) || defined(HAVE_SIGWAIT) || \
+ defined(HAVE_SIGWAITINFO) || defined(HAVE_SIGTIMEDWAIT)
+# define HAVE_SIGSET_T
#endif
+#ifdef HAVE_SIGSET_T
+PyAPI_FUNC(int) _Py_Sigset_Converter(PyObject *, void *);
+#endif /* HAVE_SIGSET_T */
+#endif /* Py_LIMITED_API */
+
#ifdef __cplusplus
}
#endif