Patch #1557515: Add RLIMIT_SBSIZE.

This commit is contained in:
Martin v. Löwis 2006-09-16 17:36:37 +00:00
parent 13782a3359
commit 43fd99c8f8
2 changed files with 6 additions and 0 deletions

View file

@ -298,6 +298,10 @@ initresource(void)
PyModule_AddIntConstant(m, "RLIMIT_MEMLOCK", RLIMIT_MEMLOCK);
#endif
#ifdef RLIMIT_SBSIZE
PyModule_AddIntConstant(m, "RLIMIT_SBSIZE", RLIMIT_SBSIZE);
#endif
#ifdef RUSAGE_SELF
PyModule_AddIntConstant(m, "RUSAGE_SELF", RUSAGE_SELF);
#endif