From 4d91f0e796b146c3bcf2cda22251b1e56cc0ebfb Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 28 Mar 2024 20:28:02 +0300 Subject: [PATCH] SDL_stdinc.h: Android passes sizeof(ENUM) == sizeof(int) assertion Reference issue: https://github.com/libsdl-org/SDL/issues/9392 . (cherry picked from commit 6cf71ca9a9054b41222dfe67d26f98bda8b2a180) --- include/SDL_stdinc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index 0035a357cf..3ddf042212 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -412,8 +412,8 @@ SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); /** \cond */ #ifndef DOXYGEN_SHOULD_IGNORE_THIS -#if !defined(__ANDROID__) && !defined(__VITA__) && !defined(__3DS__) - /* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */ +#if !defined(__VITA__) && !defined(__3DS__) +/* TODO: include/SDL_stdinc.h:422: error: size of array 'SDL_dummy_enum' is negative */ typedef enum { DUMMY_ENUM_VALUE