SDL_stdinc.h: Android passes sizeof(ENUM) == sizeof(int) assertion

Reference issue: https://github.com/libsdl-org/SDL/issues/9392 .
This commit is contained in:
Ozkan Sezer 2024-03-28 20:28:02 +03:00
parent 47378eddf6
commit 6cf71ca9a9
1 changed files with 2 additions and 2 deletions

View File

@ -380,8 +380,8 @@ SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
/** \cond */ /** \cond */
#ifndef DOXYGEN_SHOULD_IGNORE_THIS #ifndef DOXYGEN_SHOULD_IGNORE_THIS
#if !defined(SDL_PLATFORM_ANDROID) && !defined(SDL_PLATFORM_VITA) && !defined(SDL_PLATFORM_3DS) #if !defined(SDL_PLATFORM_VITA) && !defined(SDL_PLATFORM_3DS)
/* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */ /* TODO: include/SDL_stdinc.h:390: error: size of array 'SDL_dummy_enum' is negative */
typedef enum typedef enum
{ {
DUMMY_ENUM_VALUE DUMMY_ENUM_VALUE