haiku: Fixed compiler warning.

This commit is contained in:
Ryan C. Gordon 2017-08-09 18:30:48 -04:00
parent 03250690d6
commit 69092c7e47
1 changed files with 2 additions and 0 deletions

View File

@ -35,7 +35,9 @@
extern "C" { extern "C" {
#endif #endif
#ifndef DRAWTHREAD
static int32 BE_UpdateOnce(SDL_Window *window); static int32 BE_UpdateOnce(SDL_Window *window);
#endif
static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) { static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) {
return ((SDL_BWin*)(window->driverdata)); return ((SDL_BWin*)(window->driverdata));