From: Batuhan Taşkaya Date: Sun, 5 Apr 2020 00:40:49 +0000 (+0300) Subject: bpo-40190: Add support for _SC_AIX_REALMEM in sysconf (GH-19380) X-Git-Tag: v3.9.0a6~189 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=909f4a30093f74d409711e564f93a43167ca0919;p=thirdparty%2FPython%2Fcpython.git bpo-40190: Add support for _SC_AIX_REALMEM in sysconf (GH-19380) --- diff --git a/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst b/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst new file mode 100644 index 000000000000..58359330e392 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst @@ -0,0 +1 @@ +Add support for ``_SC_AIX_REALMEM`` to :func:`posix.sysconf`. diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 1adca8ec29dc..345798dc8c10 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -11424,6 +11424,9 @@ static struct constdef posix_constants_sysconf[] = { #ifdef _SC_PAGE_SIZE {"SC_PAGE_SIZE", _SC_PAGE_SIZE}, #endif +#ifdef _SC_AIX_REALMEM + {"SC_AIX_REALMEM", _SC_AIX_REALMEM}, +#endif #ifdef _SC_PASS_MAX {"SC_PASS_MAX", _SC_PASS_MAX}, #endif