summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-03-06 07:20:35 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-03-06 07:20:35 +0000
commitc21aeb1bd8e7dc22335fecb71aff8ff615248456 (patch)
treee57f22cec928f15950d7a45de3beac53739ac622
parent82a7e80d5baecde7aedcd6eb4cead7fa0ab9fe36 (diff)
downloadcoreutils-c21aeb1bd8e7dc22335fecb71aff8ff615248456.tar.xz
(O_NOLINKS): Define to 0 if not already defined.
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index a9244f04c..c4534947a 100644
--- a/src/system.h
+++ b/src/system.h
@@ -193,6 +193,10 @@ initialize_exit_failure (int status)
# define O_NOFOLLOW 0
#endif
+#if !defined O_NOLINKS
+# define O_NOLINKS 0
+#endif
+
#if !defined O_RSYNC
# define O_RSYNC 0
#endif