diff -r 04295b6cdaa5 lib/irrlicht/include/IrrCompileConfig.h --- a/lib/irrlicht/include/IrrCompileConfig.h Wed Sep 23 15:09:41 2009 +0200 +++ b/lib/irrlicht/include/IrrCompileConfig.h Wed Sep 23 15:11:43 2009 +0200 @@ -143,6 +143,9 @@ define out. */ define out. */ // Only used in LinuxDevice. #define _IRR_COMPILE_WITH_X11_ +#ifdef NO_IRR_COMPILE_WITH_X11_ // allow disabling it by compileflags +#undef _IRR_COMPILE_WITH_X11_ +#endif //! Define _IRR_OPENGL_USE_EXTPOINTER_ if the OpenGL renderer should use OpenGL extensions via function pointers. /** On some systems there is no support for the dynamic extension of OpenGL