Explorar el Código

haiku: Fixed compiler warning.

Ryan C. Gordon hace 8 años
padre
commit
69092c7e47
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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));