Make cdrom.c compile on FreeBSD (FreeBSD does not seem to have *SEEK,

strange).
oldstable
Marcus Meissner 1999-03-17 15:10:17 +00:00 committed by Alexandre Julliard
parent 892627b12b
commit f3f08f168f
1 changed files with 1 additions and 1 deletions

View File

@ -427,8 +427,8 @@ int CDAUDIO_Seek(WINE_CDAUDIO* wcda, DWORD at)
{
#if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)
int ret = 0;
struct cdrom_msf0 msf;
#ifdef linux
struct cdrom_msf0 msf;
msf.minute = at / CDFRAMES_PERMIN;
msf.second = (at % CDFRAMES_PERMIN) / CDFRAMES_PERSEC;
msf.frame = at % CDFRAMES_PERSEC;