playdate: change some preprocessor lines from #if to #ifdef

This commit is contained in:
Ryan C. Gordon 2024-04-23 01:24:59 -04:00
parent 76b1e0224f
commit d02ea31410
No known key found for this signature in database
GPG key ID: FA148B892AB48044
5 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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

View file

@ -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. */

View file

@ -20,7 +20,7 @@
*/
#include "../../SDL_internal.h"
#if SDL_VIDEO_DRIVER_PLAYDATE
#ifdef SDL_VIDEO_DRIVER_PLAYDATE
#include <math.h>

View file

@ -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