]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(sync) [!HAVE_SYNC]: New macro.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Apr 2006 20:15:08 +0000 (20:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Apr 2006 20:15:08 +0000 (20:15 +0000)
src/system.h

index 09b94c13c76bafaabd378c7f795669c465dc8107..ab4826682ec4410cd914cf6b022cf783739b3c5f 100644 (file)
@@ -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.  */