Commit 121061dcdfdf5ef1d78cd2ae84b39b779a568e28

Authored by bellard
1 parent 83d73968

O_DIRECT compile fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@633 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
linux-user/syscall.c
... ... @@ -1144,7 +1144,9 @@ static bitmask_transtbl fcntl_flags_tbl[] = {
1144 1144 { TARGET_O_DIRECTORY, TARGET_O_DIRECTORY, O_DIRECTORY, O_DIRECTORY, },
1145 1145 { TARGET_O_NOFOLLOW, TARGET_O_NOFOLLOW, O_NOFOLLOW, O_NOFOLLOW, },
1146 1146 { TARGET_O_LARGEFILE, TARGET_O_LARGEFILE, O_LARGEFILE, O_LARGEFILE, },
  1147 +#if defined(O_DIRECT)
1147 1148 { TARGET_O_DIRECT, TARGET_O_DIRECT, O_DIRECT, O_DIRECT, },
  1149 +#endif
1148 1150 { 0, 0, 0, 0 }
1149 1151 };
1150 1152  
... ...