From 59ca55abe01a86a3b323cf686880d470667738fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 17 Jul 2012 16:38:20 +0200 Subject: [PATCH] Undefine None from Xlib.h to avoid conflicts (e.g. in Framebuffer). --- src/Contexts/EglContext.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Contexts/EglContext.h b/src/Contexts/EglContext.h index a063a591a..fe2e48cb2 100644 --- a/src/Contexts/EglContext.h +++ b/src/Contexts/EglContext.h @@ -22,6 +22,9 @@ #include "Magnum.h" #include +#ifdef None // undef Xlib nonsense to avoid conflicts +#undef None +#endif #ifndef SUPPORT_X11 #define SUPPORT_X11 // OpenGL ES on BeagleBoard needs this (?)