Commit 1ac3e399 authored by Neal Norwitz's avatar Neal Norwitz

Get build working with pre-C99 compilers

parent 1a99cf04
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment