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