Commit f3f08f16 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

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

strange).
parent 892627b1
......@@ -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;
......
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