Changeset 62947 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Aug 4, 2016 3:13:51 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
r62477 r62947 155 155 fOpenMode |= O_DIRECT; 156 156 #endif 157 #if defined(O_DIRECT) && (defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) )157 #if defined(O_DIRECT) && (defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD)) 158 158 /* Disable the kernel cache. */ 159 159 if (fOpen & RTFILE_O_NO_CACHE) … … 560 560 #if defined(RT_OS_SOLARIS) 561 561 || (!S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode)) 562 #elif defined(RT_OS_FREEBSD) 562 #elif defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD) 563 563 || !S_ISCHR(st.st_mode) 564 564 #else
Note:
See TracChangeset
for help on using the changeset viewer.