From 1ac3e3991385401f6c4f9626f41787cd40e27a81 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 30 Mar 2003 20:51:29 +0000 Subject: Get build working with pre-C99 compilers --- Modules/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/resource.c b/Modules/resource.c index e82df6d..c1b6377 100644 --- a/Modules/resource.c +++ b/Modules/resource.c @@ -195,10 +195,10 @@ resource_setrlimit(PyObject *self, PyObject *args) static PyObject * resource_getpagesize(PyObject *self, PyObject *args) { + long pagesize = 0; if (!PyArg_ParseTuple(args, ":getpagesize")) return NULL; - long pagesize = 0; #if defined(HAVE_GETPAGESIZE) pagesize = getpagesize(); #elif defined(HAVE_SYSCONF) -- cgit v0.12