diff options
Diffstat (limited to 'src/video/dummy/SDL_nullevents.c')
-rw-r--r-- | src/video/dummy/SDL_nullevents.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/dummy/SDL_nullevents.c b/src/video/dummy/SDL_nullevents.c index c97cbd27..f348f842 100644 --- a/src/video/dummy/SDL_nullevents.c +++ b/src/video/dummy/SDL_nullevents.c @@ -20,6 +20,8 @@ */ #include "SDL_config.h" +#if SDL_VIDEO_DRIVER_DUMMY + /* Being a null driver, there's no event stream. We just define stubs for most of the API. */ @@ -34,4 +36,6 @@ DUMMY_PumpEvents(_THIS) /* do nothing. */ } +#endif /* SDL_VIDEO_DRIVER_DUMMY */ + /* vi: set ts=4 sw=4 expandtab: */ |