Get build working with pre-C99 compilers

This commit is contained in:
Neal Norwitz 2003-03-30 20:51:29 +00:00
parent 1a99cf045d
commit 1ac3e39913
1 changed files with 1 additions and 1 deletions

View File

@ -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)