Den lör 18 mars 2023 kl 21:55 skrev Oswald Buddenhagen < oswald.buddenha...@gmx.de>:
> On Sat, Mar 18, 2023 at 07:00:27PM +0100, Henrik Frisk wrote: > >sync.c:1207:8: error: implicit declaration of function 'fdatasync' > >[-Werror,-Wimplicit-function-declaration] > > > >Do you have a workaround for that? > > > --- a/src/common.h > +++ b/src/common.h > @@ -172,7 +172,7 @@ void flushn( void ); > char *xvasprintf( const char *fmt, va_list ap ); > void xprintf( const char *fmt, ... ); > > -#if !defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0 > +#if 1 //!defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0 > # define fdatasync fsync > #endif > > should do, but i wonder what the reason for the misdetection is. either > the macos headers are botched, or the documentation, or i misinterpreted > something. > > I think it's that the headers are botched, you can read about it here: https://trac.macports.org/ticket/62838 Anyway, it works now and it seems to have resolved the issue too! Thanks! /Henrik
_______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel