Commit 4f08dc0a authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntdll: Check for NetBSD in CDROM_Verify.

parent 14404713
...@@ -1141,7 +1141,7 @@ static NTSTATUS CDROM_Verify(int dev, int fd) ...@@ -1141,7 +1141,7 @@ static NTSTATUS CDROM_Verify(int dev, int fd)
return STATUS_SUCCESS; return STATUS_SUCCESS;
else else
return STATUS_NO_MEDIA_IN_DEVICE; return STATUS_NO_MEDIA_IN_DEVICE;
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__DragonFly__)
int ret; int ret;
ret = ioctl(fd, CDIOCSTART, NULL); ret = ioctl(fd, CDIOCSTART, NULL);
if(ret == 0) if(ret == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment