]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for MINGW32
authorGuilhem Lavaux <lavaux@easynet.fr>
Thu, 30 Dec 1999 18:38:22 +0000 (18:38 +0000)
committerGuilhem Lavaux <lavaux@easynet.fr>
Thu, 30 Dec 1999 18:38:22 +0000 (18:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxMMedia2/lib/sndg72x.cpp

index 37d6c4453fd79f8cbdbdb43d281b8a9871d5ceef..f1332d48e59fa1a133c1ac25474c13b8b9c5151c 100644 (file)
@@ -107,12 +107,16 @@ bool wxSoundFormatG72X::operator !=(const wxSoundFormatBase& frmt2) const
 // --------------------------------------------------------------------------
 // wxSoundStreamG72X
 // --------------------------------------------------------------------------
+
+// This fixes a bug in Mingw95
+typedef struct g72x_state g7s;
+
 wxSoundStreamG72X::wxSoundStreamG72X(wxSoundStream& sndio)
  : wxSoundStreamCodec(sndio)
 {
   // PCM converter
   m_router = new wxSoundRouterStream(sndio);
-  m_state  = new struct g72x_state;
+  m_state  = new g7s;
   g72x_init_state(m_state);
 }