diff --git a/examples/common/entry/entry_sdl.cpp b/examples/common/entry/entry_sdl.cpp index e981de533..566952a83 100644 --- a/examples/common/entry/entry_sdl.cpp +++ b/examples/common/entry/entry_sdl.cpp @@ -21,6 +21,9 @@ BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG("-Wextern-c-compat") BX_PRAGMA_DIAGNOSTIC_POP_CLANG() #include +#if defined(None) // X11 defines this... +# undef None +#endif // defined(None) #include #include