diff options
author | Guido van Rossum <guido@python.org> | 1997-08-22 20:42:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-22 20:42:00 (GMT) |
commit | 1171ee6aaf55fbb7f314a36798c0835ea0900ce9 (patch) | |
tree | f23fc098fe4868bcd329139364f8b229add8d99b /Modules/signalmodule.c | |
parent | 5de31fc09411a6640961e77968782147b2db8a10 (diff) | |
download | cpython-1171ee6aaf55fbb7f314a36798c0835ea0900ce9.zip cpython-1171ee6aaf55fbb7f314a36798c0835ea0900ce9.tar.gz cpython-1171ee6aaf55fbb7f314a36798c0835ea0900ce9.tar.bz2 |
Added configuration tests for presence of alarm(), pause(), and getpwent()
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 3a49965..2b4e5c3 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -147,7 +147,7 @@ signal_handler(sig_num) -#ifndef DONT_HAVE_SIG_ALARM +#ifdef HAVE_ALARM static PyObject * signal_alarm(self, args) PyObject *self; /* Not used */ @@ -161,7 +161,7 @@ signal_alarm(self, args) } #endif -#ifndef DONT_HAVE_SIG_PAUSE +#ifdef HAVE_PAUSE static PyObject * signal_pause(self, args) PyObject *self; /* Not used */ @@ -254,12 +254,12 @@ signal_get_signal(self, args) /* List of functions defined in the module */ static PyMethodDef signal_methods[] = { -#ifndef DONT_HAVE_SIG_ALARM +#ifdef HAVE_ALARM {"alarm", signal_alarm}, #endif {"signal", signal_signal}, {"getsignal", signal_get_signal}, -#ifndef DONT_HAVE_SIG_PAUSE +#ifdef HAVE_PAUSE {"pause", signal_pause}, #endif {"default_int_handler", signal_default_int_handler}, |