From 3126ed79f1903db1c4cadd9e1ec43512ee354327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 24 Jan 2016 22:35:49 -0800 Subject: [PATCH] Fixed Linux build. --- examples/common/entry/entry_sdl.cpp | 3 +++ 1 file changed, 3 insertions(+) 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