Remove incorrect support for FreeBSD and NetBSD in

DVD_StartSession().
This commit is contained in:
Gerald Pfeifer 2004-06-16 19:03:25 +00:00 committed by Alexandre Julliard
parent 0febf5fb3b
commit 69075d0c1c
1 changed files with 1 additions and 1 deletions

View File

@ -1736,7 +1736,7 @@ static NTSTATUS DVD_EndSession(int fd, PDVD_SESSION_ID sid)
TRACE("\n");
return CDROM_GetStatusCode(ioctl(fd, DVD_AUTH, &auth_info));
#elif defined(__FreeBSD__) || defined(__NetBSD__)
return CDROM_GetStatusCode(ioctl(cdrom_cache[dev].fd, (rmv->PreventMediaRemoval) ? CDIOCPREVENT : CDIOCALLOW, NULL));
return STATUS_NOT_SUPPORTED;
#else
return STATUS_NOT_SUPPORTED;
#endif