ソースを参照

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

Reference issue: https://github.com/libsdl-org/SDL/issues/9392 .
Ozkan Sezer 1 年間 前
コミット
6cf71ca9a9
1 ファイル変更2 行追加2 行削除
  1. 2 2
      include/SDL3/SDL_stdinc.h

+ 2 - 2
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