summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-02 23:42:14 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-02 23:42:14 (GMT)
commitbad9c2f13ae2d1b7af3d64506b2ab1ad7850d20a (patch)
tree652ca6ea0db7f29b14e3b8cde894563a6a2868e3 /Modules/posixmodule.c
parente3298dda6dfb5427b3beab142e563d65c1bd5e84 (diff)
downloadcpython-bad9c2f13ae2d1b7af3d64506b2ab1ad7850d20a.zip
cpython-bad9c2f13ae2d1b7af3d64506b2ab1ad7850d20a.tar.gz
cpython-bad9c2f13ae2d1b7af3d64506b2ab1ad7850d20a.tar.bz2
avoid warning when SchedParamType is not used
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index e6d70d3..f4461c0 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1609,7 +1609,9 @@ static PyTypeObject WaitidResultType;
static int initialized;
static PyTypeObject StatResultType;
static PyTypeObject StatVFSResultType;
+#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER)
static PyTypeObject SchedParamType;
+#endif
static newfunc structseq_new;
static PyObject *