diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-22 11:56:01 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-22 11:56:01 +0000 |
commit | 121061dcdfdf5ef1d78cd2ae84b39b779a568e28 (patch) | |
tree | 7c8c8772075f0d9d218d9bc453439c929223b65b /linux-user/syscall.c | |
parent | 83d73968500d903a8dde19298a324bf45be7b3ee (diff) | |
download | qemu-121061dcdfdf5ef1d78cd2ae84b39b779a568e28.tar.gz qemu-121061dcdfdf5ef1d78cd2ae84b39b779a568e28.tar.bz2 qemu-121061dcdfdf5ef1d78cd2ae84b39b779a568e28.zip |
O_DIRECT compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@633 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 52e1c6b533..9ac95729f5 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1144,7 +1144,9 @@ static bitmask_transtbl fcntl_flags_tbl[] = { { TARGET_O_DIRECTORY, TARGET_O_DIRECTORY, O_DIRECTORY, O_DIRECTORY, }, { TARGET_O_NOFOLLOW, TARGET_O_NOFOLLOW, O_NOFOLLOW, O_NOFOLLOW, }, { TARGET_O_LARGEFILE, TARGET_O_LARGEFILE, O_LARGEFILE, O_LARGEFILE, }, +#if defined(O_DIRECT) { TARGET_O_DIRECT, TARGET_O_DIRECT, O_DIRECT, O_DIRECT, }, +#endif { 0, 0, 0, 0 } }; |