SDL_stdinc.h: Android passes sizeof(ENUM) == sizeof(int) assertion
Reference issue: https://github.com/libsdl-org/SDL/issues/9392 .
(cherry picked from commit 6cf71ca9a9)
This commit is contained in:
1 parent
0d8ce4a761
commit
4d91f0e796
1 file changed
+2
-2
@@ -412,8 +412,8 @@ SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
|
|||||||
|
|
||||||
/** \cond */
|
/** \cond */
|
||||||
#ifndef DOXYGEN_SHOULD_IGNORE_THIS
|
#ifndef DOXYGEN_SHOULD_IGNORE_THIS
|
||||||
#if !defined(__ANDROID__) && !defined(__VITA__) && !defined(__3DS__)
|
#if !defined(__VITA__) && !defined(__3DS__)
|
||||||
/* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */
|
/* TODO: include/SDL_stdinc.h:422: error: size of array 'SDL_dummy_enum' is negative */
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
DUMMY_ENUM_VALUE
|
DUMMY_ENUM_VALUE
|
||||||
|
|||||||
Reference in new issue
Block a user