diff options
Diffstat (limited to 'Modules/resource.c')
-rw-r--r-- | Modules/resource.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/resource.c b/Modules/resource.c index fe6f3b6..d38c660 100644 --- a/Modules/resource.c +++ b/Modules/resource.c @@ -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 |