Commit 714aa21136bddd75b7ef8af4efa0ed3075912f4a

Ryan C. Gordon 2016-08-28T18:24:44

Patched to compile on Haiku.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/audio/haiku/SDL_haikuaudio.cc b/src/audio/haiku/SDL_haikuaudio.cc
index e4a3307..25b1fa2 100644
--- a/src/audio/haiku/SDL_haikuaudio.cc
+++ b/src/audio/haiku/SDL_haikuaudio.cc
@@ -118,7 +118,7 @@ HAIKUAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
     if (_this->hidden == NULL) {
         return SDL_OutOfMemory();
     }
-    SDL_zerop(this->hidden);
+    SDL_zerop(_this->hidden);
 
     /* Parse the audio format and fill the Be raw audio format */
     SDL_zero(format);