diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-03-29 10:06:18 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-03-29 10:06:18 (GMT) |
commit | b9a0f9121876cbc728cbef88f16bb32b92712d2d (patch) | |
tree | 2677795fd372f25549f84764a556bee87ec66f43 /Modules/resource.c | |
parent | 043bbc7da387f613f3ce60c20063e2a29baff372 (diff) | |
download | cpython-b9a0f9121876cbc728cbef88f16bb32b92712d2d.zip cpython-b9a0f9121876cbc728cbef88f16bb32b92712d2d.tar.gz cpython-b9a0f9121876cbc728cbef88f16bb32b92712d2d.tar.bz2 |
Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.
Diffstat (limited to 'Modules/resource.c')
-rw-r--r-- | Modules/resource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/resource.c b/Modules/resource.c index 8653f03..003599d 100644 --- a/Modules/resource.c +++ b/Modules/resource.c @@ -128,8 +128,8 @@ resource_getrlimit(PyObject *self, PyObject *args) #if defined(HAVE_LONG_LONG) if (sizeof(rl.rlim_cur) > sizeof(long)) { return Py_BuildValue("LL", - (LONG_LONG) rl.rlim_cur, - (LONG_LONG) rl.rlim_max); + (PY_LONG_LONG) rl.rlim_cur, + (PY_LONG_LONG) rl.rlim_max); } #endif return Py_BuildValue("ll", (long) rl.rlim_cur, (long) rl.rlim_max); @@ -292,7 +292,7 @@ initresource(void) #if defined(HAVE_LONG_LONG) if (sizeof(RLIM_INFINITY) > sizeof(long)) { - v = PyLong_FromLongLong((LONG_LONG) RLIM_INFINITY); + v = PyLong_FromLongLong((PY_LONG_LONG) RLIM_INFINITY); } else #endif { |