summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-12-07 21:11:45 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-12-07 21:11:45 +0000
commitcb65d67c2a77011dda7035a34ff7990ddf47dffe (patch)
treef4ea68a04b81b3097593359f62a5a7d55a193be2 /src
parentf2ced93400c19a3110edf8e58a065bb9d2cc2d3d (diff)
downloadcoreutils-cb65d67c2a77011dda7035a34ff7990ddf47dffe.tar.xz
(O_NOATIME): Define to 0 if not already defined.
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 651a58d95..886fb6af1 100644
--- a/src/system.h
+++ b/src/system.h
@@ -168,6 +168,10 @@ initialize_exit_failure (int status)
# define O_NDELAY 0
#endif
+#if !defined O_NOATIME
+# define O_NOATIME 0
+#endif
+
#if !defined O_NONBLOCK
# define O_NONBLOCK O_NDELAY
#endif