commit | 5049a858baf3500af5d4eb12838f028aabefc35b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri May 16 13:10:15 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Fri May 16 13:10:15 2008 +0000 |
tree | 196f2c8b004f26a074def3cd654766c5eb821f02 | |
parent | ca21c65a237f1fbeb6b71ad124c31e9b59a41c98 [diff] [blame] |
#2890: support os.O_ASYNC and fcntl.FASYNC.
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c index 96a6cc8..0c85f47 100644 --- a/Modules/fcntlmodule.c +++ b/Modules/fcntlmodule.c
@@ -510,6 +510,9 @@ if (ins(d, "F_SETLKW64", (long)F_SETLKW64)) return -1; #endif /* GNU extensions, as of glibc 2.2.4. */ +#ifdef FASYNC + if (ins(d, "FASYNC", (long)FASYNC)) return -1; +#endif #ifdef F_SETLEASE if (ins(d, "F_SETLEASE", (long)F_SETLEASE)) return -1; #endif