Austin English : ntdll: Add file support for OpenBSD.
Alexandre Julliard
julliard at winehq.org
Sat Jan 3 09:11:26 CST 2009
Module: wine
Branch: master
Commit: 87af7e110f7280f14ef77020bade9e8933bf07de
URL: http://source.winehq.org/git/wine.git/?a=commit;h=87af7e110f7280f14ef77020bade9e8933bf07de
Author: Austin English <austinenglish at gmail.com>
Date: Fri Jan 2 19:54:45 2009 -0600
ntdll: Add file support for OpenBSD.
---
dlls/ntdll/file.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 1d31582..bea4e0f 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -2012,7 +2012,7 @@ NTSTATUS WINAPI NtQueryAttributesFile( const OBJECT_ATTRIBUTES *attr, FILE_BASIC
}
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
/* helper for FILE_GetDeviceInfo to hide some platform differences in fstatfs */
static inline void get_device_info_fstatfs( FILE_FS_DEVICE_INFORMATION *info, const char *fstypename,
unsigned int flags )
@@ -2133,7 +2133,7 @@ static NTSTATUS get_device_info( int fd, FILE_FS_DEVICE_INFORMATION *info )
info->DeviceType = FILE_DEVICE_DISK_FILE_SYSTEM;
break;
}
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__APPLE__)
struct statfs stfs;
if (fstatfs( fd, &stfs ) < 0)
More information about the wine-cvs
mailing list