]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(O_DIRECTORY) [!defined O_DIRECTORY]: Define.
authorJim Meyering <jim@meyering.net>
Tue, 3 Jan 2006 07:41:03 +0000 (07:41 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 3 Jan 2006 07:41:03 +0000 (07:41 +0000)
src/system.h

index 886fb6af173fcf09c9c24bcd6f71e716c736ca74..db3d3489f504e28ca8cbabd0901e9f6abe29bbdd 100644 (file)
@@ -1,5 +1,5 @@
 /* system-dependent definitions for coreutils
-   Copyright (C) 1989, 1991-2005 Free Software Foundation, Inc.
+   Copyright (C) 1989, 1991-2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -160,6 +160,10 @@ initialize_exit_failure (int status)
 # define O_DIRECT 0
 #endif
 
+#if !defined O_DIRECTORY
+# define O_DIRECTORY 0
+#endif
+
 #if !defined O_DSYNC
 # define O_DSYNC 0
 #endif