summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-04-12 20:15:08 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-04-12 20:15:08 +0000
commit00e67bf028509d787e1ae3001adeca1a301b225c (patch)
treec3a012f1196490c883797cac563b7850e1da6807 /src
parenteda15d7cca6bed0547decacfb118fc80cf977bb6 (diff)
downloadcoreutils-00e67bf028509d787e1ae3001adeca1a301b225c.tar.xz
(sync) [!HAVE_SYNC]: New macro.
Diffstat (limited to 'src')
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 09b94c13c..ab4826682 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. */