mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
Use #ifdef/#ifndef instead of #if defined/#if \!defined
This commit is contained in:
parent
308bcbbe76
commit
b6ae281e97
129 changed files with 450 additions and 450 deletions
|
@ -309,7 +309,7 @@ static int rwops_testFileRead(void *arg)
|
|||
}
|
||||
|
||||
/* Check type */
|
||||
#if defined(__ANDROID__)
|
||||
#ifdef __ANDROID__
|
||||
SDLTest_AssertCheck(
|
||||
rw->type == SDL_RWOPS_STDFILE || rw->type == SDL_RWOPS_JNIFILE,
|
||||
"Verify RWops type is SDL_RWOPS_STDFILE or SDL_RWOPS_JNIFILE; expected: %d|%d, got: %d", SDL_RWOPS_STDFILE, SDL_RWOPS_JNIFILE, rw->type);
|
||||
|
@ -356,7 +356,7 @@ static int rwops_testFileWrite(void *arg)
|
|||
}
|
||||
|
||||
/* Check type */
|
||||
#if defined(__ANDROID__)
|
||||
#ifdef __ANDROID__
|
||||
SDLTest_AssertCheck(
|
||||
rw->type == SDL_RWOPS_STDFILE || rw->type == SDL_RWOPS_JNIFILE,
|
||||
"Verify RWops type is SDL_RWOPS_STDFILE or SDL_RWOPS_JNIFILE; expected: %d|%d, got: %d", SDL_RWOPS_STDFILE, SDL_RWOPS_JNIFILE, rw->type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue