diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-03-13 15:27:41 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-03-13 15:27:41 (GMT) |
commit | 3b965a237ce987d9c7e2918acf3ce5c0d068fc9c (patch) | |
tree | d8d56cb8426af3a29017d3981ee37c8bd236e5c4 /Modules | |
parent | fe1c471cb17b059d12d4cd293c7be1850206f755 (diff) | |
download | cpython-3b965a237ce987d9c7e2918acf3ce5c0d068fc9c.zip cpython-3b965a237ce987d9c7e2918acf3ce5c0d068fc9c.tar.gz cpython-3b965a237ce987d9c7e2918acf3ce5c0d068fc9c.tar.bz2 |
expose O_PATH if possible
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 0586da3..3ddeef4 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -10858,6 +10858,9 @@ all_ins(PyObject *d) #ifdef O_SEARCH if (ins(d, "O_SEARCH", (long)O_SEARCH)) return -1; #endif +#ifdef O_PATH + if (ins(d, "O_PATH", (long)O_PATH)) return -1; +#endif #ifdef O_TTY_INIT if (ins(d, "O_TTY_INIT", (long)O_TTY_INIT)) return -1; #endif |