configure and include/config.h.in need to be regenerated. macOS wasn't tested.
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- configure.ac | 2 +- dlls/ntdll/unix/file.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-)
November 8, 2020 11:41 AM, "Damjan Jovanovic" damjan.jov@gmail.com wrote:
diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c index d12a3ffb119..f039c3488a6 100644 --- a/dlls/ntdll/unix/file.c +++ b/dlls/ntdll/unix/file.c @@ -6048,6 +6051,10 @@ static NTSTATUS get_device_info( int fd, FILE_FS_DEVICE_INFORMATION *info ) if (fstat( fd, &st ) < 0) return errno_to_status( errno ); if (S_ISCHR( st.st_mode )) { +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
Missing defined(__APPLE__) here.
Chip
On Sun, Nov 8, 2020 at 10:11 PM Chip Davis cdavis@codeweavers.com wrote:
November 8, 2020 11:41 AM, "Damjan Jovanovic" damjan.jov@gmail.com wrote:
diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c index d12a3ffb119..f039c3488a6 100644 --- a/dlls/ntdll/unix/file.c +++ b/dlls/ntdll/unix/file.c @@ -6048,6 +6051,10 @@ static NTSTATUS get_device_info( int fd,
FILE_FS_DEVICE_INFORMATION *info )
if (fstat( fd, &st ) < 0) return errno_to_status( errno ); if (S_ISCHR( st.st_mode )) {
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
Missing defined(__APPLE__) here.
Chip
Thank you, resent.
Damjan