Skip to content
Snippets Groups Projects
Commit 4e589cd1 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard
Browse files

Use ENOMEDIUM errno code only when defined.

parent 59d9dd39
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment