summaryrefslogtreecommitdiff
path: root/src/video/bwindow/SDL_bmodes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/bwindow/SDL_bmodes.cc')
-rw-r--r--src/video/bwindow/SDL_bmodes.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video/bwindow/SDL_bmodes.cc b/src/video/bwindow/SDL_bmodes.cc
index 0651cf93..a68522be 100644
--- a/src/video/bwindow/SDL_bmodes.cc
+++ b/src/video/bwindow/SDL_bmodes.cc
@@ -18,8 +18,9 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
+#include "SDL_config.h"
-
+#if SDL_VIDEO_DRIVER_BWINDOW
#include <AppKit.h>
#include <InterfaceKit.h>
@@ -327,3 +328,5 @@ int BE_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode){
#ifdef __cplusplus
}
#endif
+
+#endif /* SDL_VIDEO_DRIVER_BWINDOW */