mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-19 09:48:14 +00:00
Use #ifdef/#ifndef instead of #if defined/#if \!defined
This commit is contained in:

committed by
Anonymous Maarten

parent
308bcbbe76
commit
b6ae281e97
@@ -20,13 +20,13 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if defined(SDL_SENSOR_VITA)
|
||||
#ifdef SDL_SENSOR_VITA
|
||||
|
||||
#include "SDL_vitasensor.h"
|
||||
#include "../SDL_syssensor.h"
|
||||
#include <psp2/motion.h>
|
||||
|
||||
#if !defined(SCE_MOTION_MAX_NUM_STATES)
|
||||
#ifndef SCE_MOTION_MAX_NUM_STATES
|
||||
#define SCE_MOTION_MAX_NUM_STATES 64
|
||||
#endif
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if defined(SDL_SENSOR_WINDOWS)
|
||||
#ifdef SDL_SENSOR_WINDOWS
|
||||
|
||||
#include "SDL_windowssensor.h"
|
||||
#include "../SDL_syssensor.h"
|
||||
|
Reference in New Issue
Block a user