Commit 0672eea6 authored by hybrid's avatar hybrid

Added the compile time check to disable GUI compilation. Noticed by CuteAlien.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1230 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 68e1f2a6
......@@ -177,6 +177,3 @@ namespace gui
#endif
......@@ -6,6 +6,8 @@
// A_Buschhueter@gmx.de
#include "CGUITable.h"
#ifdef _IRR_COMPILE_WITH_GUI_
#include "IGUISkin.h"
#include "IGUIEnvironment.h"
#include "IVideoDriver.h"
......@@ -1194,3 +1196,6 @@ void CGUITable::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWri
} // end namespace gui
} // end namespace irr
#endif
......@@ -8,6 +8,9 @@
#ifndef __C_GUI_TABLE_BAR_H_INCLUDED__
#define __C_GUI_TABLE_BAR_H_INCLUDED__
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_WITH_GUI_
#include "IGUITable.h"
#include "irrArray.h"
......@@ -209,5 +212,7 @@ namespace gui
} // end namespace gui
} // end namespace irr
#endif // _IRR_COMPILE_WITH_GUI_
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment