Skip to content

Commit

Permalink
[XrdPosix] Fix build on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Feb 18, 2024
1 parent 293f378 commit 7723de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdPosix/XrdPosix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static inline void fseterr(FILE *fp)
#if defined _IO_ERR_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
/* GNU libc, BeOS, Haiku, Linux libc5 */
fp->_flags |= _IO_ERR_SEEN;
#elif defined __sferror || defined __APPLE__ || defined __DragonFly__ || defined __ANDROID__
#elif defined __sferror || defined __APPLE__ || defined __DragonFly__ || defined __FreeBSD__ || defined __ANDROID__
/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
fp->_flags |= __SERR;
#elif defined _IOERR
Expand Down

0 comments on commit 7723de0

Please sign in to comment.