diff -r f38f16b115aa lib/irrlicht/include/IrrCompileConfig.h --- a/lib/irrlicht/include/IrrCompileConfig.h Thu Jun 04 04:55:31 2009 +0200 +++ b/lib/irrlicht/include/IrrCompileConfig.h Thu Jun 04 05:03:02 2009 +0200 @@ -130,6 +130,9 @@ 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