From 781167fbe17f50678f3b4f58931ae75e2948b963 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 7 Feb 2006 22:32:50 +0000 Subject: (!defined O_DIRECT): If O_DIRECTIO is defined (as it is on Tru64), define O_DIRECT to that. Patch From James Lemley. --- src/system.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/system.h b/src/system.h index 45be5d184..0f471e5d1 100644 --- a/src/system.h +++ b/src/system.h @@ -156,6 +156,11 @@ initialize_exit_failure (int status) # define R_OK 4 #endif +#if !defined O_DIRECT && defined O_DIRECTIO +/* Tru64 spells it `O_DIRECTIO'. */ +# define O_DIRECT O_DIRECTIO +#endif + #if !defined O_DIRECT # define O_DIRECT 0 #endif -- cgit v1.2.3-70-g09d2