summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-06-01 08:24:02 -0700
committerPixel <pixel@nobis-crew.org>2009-06-01 08:24:02 -0700
commit93408254466c43b97e1a34bfe07ae9c68cff556c (patch)
treea621c3da332bee570465851d48a054d852668393
parentadcabb33d8f804d087ea7d743d80afdc6d28b83c (diff)
Seems mingw32 wants its typeinfo header badly.
-rw-r--r--include/BLua.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/BLua.h b/include/BLua.h
index df918bd..8f89312 100644
--- a/include/BLua.h
+++ b/include/BLua.h
@@ -20,6 +20,8 @@
#ifndef __BLUA_H__
#define __BLUA_H__
+#include <typeinfo>
+
struct lua_State;
extern "C" {
@@ -274,9 +276,6 @@ struct lua_functypes_t {
} \
}
-#include <typeinfo>
-
-
template <class T>
class LuaHelpers : public Base {
public: