mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-24 23:11:57 +00:00
playdate: change some preprocessor lines from #if to #ifdef
This commit is contained in:
parent
76b1e0224f
commit
d02ea31410
5 changed files with 5 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_PLAYDATE
|
||||
#ifdef SDL_VIDEO_DRIVER_PLAYDATE
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue