ntdll/cdrom : implement CDROM_Verify to work on Mac OS X, with comment (try 2)

Ken Thomases ken at codeweavers.com
Sat Jan 22 21:59:12 CST 2011


On Jan 22, 2011, at 8:35 AM, Loïc Maury wrote:

> I have add comment in the code for the patch.

> @@ -1121,6 +1121,10 @@ static NTSTATUS CDROM_Verify(int dev, int fd)
>          return STATUS_SUCCESS;
>      else
>          return STATUS_NO_MEDIA_IN_DEVICE;
> +/* At this point, we know that we have media, because in Mac OS X, the
> + * device file is only created when media is present. */
> +#elif defined(__APPLE__)
> +	return STATUS_SUCCESS;
>  #else
>      FIXME("not supported on this O/S\n");
>      return STATUS_NOT_SUPPORTED;

The comment should be inside the __APPLE__ block, and indented to match the return statement.

Regards,
Ken





More information about the wine-devel mailing list