diff options
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 55ea3b9662..018d68ceb2 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -7117,6 +7117,10 @@ all_ins(PyObject *d) /* Do not follow links. */ if (ins(d, "O_NOFOLLOW", (long)O_NOFOLLOW)) return -1; #endif +#ifdef O_NOATIME + /* Do not update the access time. */ + if (ins(d, "O_NOATIME", (long)O_NOATIME)) return -1; +#endif /* These come from sysexits.h */ #ifdef EX_OK |