From 69092c7e47570a50015d1c186e03042dde843ef8 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 9 Aug 2017 18:30:48 -0400 Subject: [PATCH] haiku: Fixed compiler warning. --- src/video/haiku/SDL_bframebuffer.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/haiku/SDL_bframebuffer.cc b/src/video/haiku/SDL_bframebuffer.cc index c4a1f8a752213..6a1adea5e514e 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));