Commit 4e589cd1 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Use ENOMEDIUM errno code only when defined.

parent 59d9dd39
......@@ -110,7 +110,9 @@ static DWORD CDROM_GetStatusCode(int io)
switch (errno)
{
case EIO:
#ifdef ENOMEDIUM
case ENOMEDIUM:
#endif
return STATUS_NO_MEDIA_IN_DEVICE;
}
FIXME("Unmapped error code %d: %s\n", errno, strerror(errno));
......
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