Use ENOMEDIUM errno code only when defined.
This commit is contained in:
parent
59d9dd3910
commit
4e589cd171
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue