1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00

Define `O_NOTRANS' on GNU/Hurd.

* libguile/filesys.c (scm_init_filesys): Define `O_NOTRANS' when
  available.
This commit is contained in:
Ludovic Courtès 2011-07-12 23:08:42 +02:00
parent 1fe9920adc
commit 3565df4546

View file

@ -1856,7 +1856,10 @@ scm_init_filesys ()
#endif
#ifdef 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
scm_c_define ("F_DUPFD", scm_from_int (F_DUPFD));