mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Use ENOMEDIUM errno code only when defined.
This commit is contained in:
parent
59d9dd3910
commit
4e589cd171
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue