mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Get build working with pre-C99 compilers
This commit is contained in:
parent
1a99cf045d
commit
1ac3e39913
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue