diff --git a/src/power/playdate/SDL_syspower.c b/src/power/playdate/SDL_syspower.c index 7bed986128..b4a740f7e4 100644 --- a/src/power/playdate/SDL_syspower.c +++ b/src/power/playdate/SDL_syspower.c @@ -21,7 +21,7 @@ #include "../../SDL_internal.h" #ifndef SDL_POWER_DISABLED -#if SDL_POWER_PLAYDATE +#ifdef SDL_POWER_PLAYDATE #include "SDL_power.h" #include "../SDL_syspower.h" diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 6a3d85a865..27dbbf74f6 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -129,7 +129,7 @@ static VideoBootStrap *bootstrap[] = { #ifdef SDL_VIDEO_DRIVER_QNX &QNX_bootstrap, #endif -#if SDL_VIDEO_DRIVER_PLAYDATE +#ifdef SDL_VIDEO_DRIVER_PLAYDATE &PLAYDATE_bootstrap, #endif #ifdef SDL_VIDEO_DRIVER_OS2 diff --git a/src/video/playdate/SDL_playdate_events.c b/src/video/playdate/SDL_playdate_events.c index 8a69492f4e..3aa72da3d8 100644 --- a/src/video/playdate/SDL_playdate_events.c +++ b/src/video/playdate/SDL_playdate_events.c @@ -20,7 +20,7 @@ */ #include "../../SDL_internal.h" -#if SDL_VIDEO_DRIVER_PLAYDATE +#ifdef SDL_VIDEO_DRIVER_PLAYDATE /* Being a null driver, there's no event stream. We just define stubs for most of the API. */ diff --git a/src/video/playdate/SDL_playdate_framebuffer.c b/src/video/playdate/SDL_playdate_framebuffer.c index 9503bfd1b8..d11c6b27ea 100644 --- a/src/video/playdate/SDL_playdate_framebuffer.c +++ b/src/video/playdate/SDL_playdate_framebuffer.c @@ -20,7 +20,7 @@ */ #include "../../SDL_internal.h" -#if SDL_VIDEO_DRIVER_PLAYDATE +#ifdef SDL_VIDEO_DRIVER_PLAYDATE #include diff --git a/src/video/playdate/SDL_playdate_video.c b/src/video/playdate/SDL_playdate_video.c index a035aca1a3..d07f6084dd 100644 --- a/src/video/playdate/SDL_playdate_video.c +++ b/src/video/playdate/SDL_playdate_video.c @@ -20,7 +20,7 @@ */ #include "../../SDL_internal.h" -#if SDL_VIDEO_DRIVER_PLAYDATE +#ifdef SDL_VIDEO_DRIVER_PLAYDATE /* Dummy SDL video driver implementation; this is just enough to make an * SDL-based application THINK it's got a working video driver, for