From 1ac3e3991385401f6c4f9626f41787cd40e27a81 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 30 Mar 2003 20:51:29 +0000 Subject: [PATCH] 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 e82df6d9762..c1b637758dc 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)