commit | 1ac3e3991385401f6c4f9626f41787cd40e27a81 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Mar 30 20:51:29 2003 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Mar 30 20:51:29 2003 +0000 |
tree | 737ab1f88fc1de37d7c179fb4a96f72986ba7e3d | |
parent | 1a99cf045d7df8d3f9dbd1d8db2ca164cdd3d3fc [diff] [blame] |
Get build working with pre-C99 compilers
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 @@ 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)