aboutsummaryrefslogtreecommitdiffstats
path: root/games/ember/files/patch-tolua++.h
blob: d0b178625aafb69f717ea2000c50b852b59236eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/components/lua/tolua++.h.orig   2011-01-19 15:51:08.000000000 +0100
+++ src/components/lua/tolua++.h    2011-01-19 15:51:58.000000000 +0100
@@ -31,4 +31,12 @@
 
 #include <tolua++.h>
 
+#ifndef Mtolua_new
+#define Mtolua_new(EXP) new EXP
+#endif
+
+#ifndef Mtolua_delete
+#define Mtolua_delete(EXP) delete EXP
+#endif
+
 #endif /* EMBER_TOLUA_H_ */