# SDL: SDL\_stdinc.h: Android passes sizeof(ENUM) == sizeof(int) assertion

**URL:** <https://discourse.libsdl.org/t/sdl-sdl-stdinc-h-android-passes-sizeof-enum-sizeof-int-assertion/50177>\
**Category:** SDL Commits\
**Created:** [March 28, 2024, 5:52pm UTC](https://discourse.libsdl.org/t/sdl-sdl-stdinc-h-android-passes-sizeof-enum-sizeof-int-assertion/50177 "2024-03-28T17:52:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [March 28, 2024, 5:52pm UTC](https://discourse.libsdl.org/t/sdl-sdl-stdinc-h-android-passes-sizeof-enum-sizeof-int-assertion/50177/1 "2024-03-28T17:52:03Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/6cf71ca9a9054b41222dfe67d26f98bda8b2a180>
>
> Reference issue: https://github.com/libsdl-org/SDL/issues/9392 .

```diff
From 6cf71ca9a9054b41222dfe67d26f98bda8b2a180 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
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 .
---
 include/SDL3/SDL_stdinc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

```
