Commit 69092c7e47570a50015d1c186e03042dde843ef8

Ryan C. Gordon 2017-08-09T18:30:48

haiku: Fixed compiler warning.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/video/haiku/SDL_bframebuffer.cc b/src/video/haiku/SDL_bframebuffer.cc
index c4a1f8a..6a1adea 100644
--- a/src/video/haiku/SDL_bframebuffer.cc
+++ b/src/video/haiku/SDL_bframebuffer.cc
@@ -35,7 +35,9 @@
 extern "C" {
 #endif
 
+#ifndef DRAWTHREAD
 static int32 BE_UpdateOnce(SDL_Window *window);
+#endif
 
 static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) {
 	return ((SDL_BWin*)(window->driverdata));