X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bbb6f0f3161d2bf11773ddd88f00383e050449e..ccdd4b0b4213a247e61c81718be7483074a9c0b4:/contrib/src/mmedia/cdunix.cpp diff --git a/contrib/src/mmedia/cdunix.cpp b/contrib/src/mmedia/cdunix.cpp index 6fae083165..936eeef4d2 100644 --- a/contrib/src/mmedia/cdunix.cpp +++ b/contrib/src/mmedia/cdunix.cpp @@ -22,6 +22,8 @@ #pragma hdrstop #endif +#if HAVE_KNOWN_CDROM_INTERFACE + // --------------------------------------------------------------------------- // MMedia headers // --------------------------------------------------------------------------- @@ -78,7 +80,7 @@ void wxCDAudioLinux::OpenDevice(const wxString& dev_name) struct cdrom_tocentry entry, old_entry; struct cdrom_tochdr diskinf; struct cdrom_msf0 *msf = &entry.cdte_addr.msf, - *old_msf = &old_entry.cdte_addr.msf; + *old_msf = &old_entry.cdte_addr.msf; wxCDtime *the_track; wxCDtime tot_tm; wxUint8 nb_tracks, i; @@ -216,3 +218,5 @@ wxCDAudio::CDtoc& wxCDAudioLinux::GetToc() { return *m_toc; } + +#endif