]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/cdunix.cpp
Wrappers for *ToText
[wxWidgets.git] / contrib / src / mmedia / cdunix.cpp
index 6fae08316522958d179de27a43f87ad415955fe1..936eeef4d2629bb0feeccfe284a0a78701af91cf 100644 (file)
@@ -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