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