mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-03 05:20:16 +02:00
Define `O_NOTRANS' on GNU/Hurd.
* libguile/filesys.c (scm_init_filesys): Define `O_NOTRANS' when available.
This commit is contained in:
parent
1fe9920adc
commit
3565df4546
1 changed files with 4 additions and 1 deletions
|
@ -1856,7 +1856,10 @@ scm_init_filesys ()
|
||||||
#endif
|
#endif
|
||||||
#ifdef O_LARGEFILE
|
#ifdef O_LARGEFILE
|
||||||
scm_c_define ("O_LARGEFILE", scm_from_int (O_LARGEFILE));
|
scm_c_define ("O_LARGEFILE", scm_from_int (O_LARGEFILE));
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef O_NOTRANS
|
||||||
|
scm_c_define ("O_NOTRANS", scm_from_int (O_NOTRANS));
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef F_DUPFD
|
#ifdef F_DUPFD
|
||||||
scm_c_define ("F_DUPFD", scm_from_int (F_DUPFD));
|
scm_c_define ("F_DUPFD", scm_from_int (F_DUPFD));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue