[Python-checkins] r82106 - in python/branches/py3k-signalfd-issue8407: Modules/signalmodule.c pyconfig.h.in
jean-paul.calderone
python-checkins at python.org
Sun Jun 20 01:10:53 CEST 2010
Author: jean-paul.calderone
Date: Sun Jun 20 01:10:53 2010
New Revision: 82106
Log:
Do this HAVE_SYS_SIGNALFD_H thing
It's probably wrong. I don't know about this stuff.
Some systems appear to HAVE_SIGNALFD while not having <sys/signalfd.h> though.
Modified:
python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c
python/branches/py3k-signalfd-issue8407/pyconfig.h.in
Modified: python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c
==============================================================================
--- python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c (original)
+++ python/branches/py3k-signalfd-issue8407/Modules/signalmodule.c Sun Jun 20 01:10:53 2010
@@ -22,7 +22,7 @@
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
-#ifdef HAVE_SIGNALFD
+#ifdef HAVE_SYS_SIGNALFD_H
#include <sys/signalfd.h>
#endif
Modified: python/branches/py3k-signalfd-issue8407/pyconfig.h.in
==============================================================================
--- python/branches/py3k-signalfd-issue8407/pyconfig.h.in (original)
+++ python/branches/py3k-signalfd-issue8407/pyconfig.h.in Sun Jun 20 01:10:53 2010
@@ -765,6 +765,9 @@
/* Define to 1 if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H
+/* Define to 1 if you have the <sys/signalfd.h> header file. */
+#undef HAVE_SYS_SIGNALFD_H
+
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
More information about the Python-checkins
mailing list