From: Paul Eggert Date: Wed, 12 Apr 2006 20:15:08 +0000 (+0000) Subject: (sync) [!HAVE_SYNC]: New macro. X-Git-Tag: v6.0~498 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00e67bf028509d787e1ae3001adeca1a301b225c;p=thirdparty%2Fcoreutils.git (sync) [!HAVE_SYNC]: New macro. --- diff --git a/src/system.h b/src/system.h index 09b94c13c7..ab4826682e 100644 --- a/src/system.h +++ b/src/system.h @@ -765,6 +765,10 @@ enum : (errno = EOVERFLOW, -1)) #endif +#if ! HAVE_SYNC +# define sync() /* empty */ +#endif + /* Compute the greatest common divisor of U and V using Euclid's algorithm. U and V must be nonzero. */