Browse Source

haiku: Fixed compiler warning.

Ryan C. Gordon 7 years ago
parent
commit
69092c7e47
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/video/haiku/SDL_bframebuffer.cc

+ 2 - 0
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));