aboutsummaryrefslogtreecommitdiff
path: root/src/lua_interface.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-10-27 03:44:14 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-10-27 03:44:14 -0400
commita87d7403532c3a2be43e158e0cf3dd1e8e82f7ab (patch)
treefd710e6ba5286026f26a6a4e69dfd84dcc109f1f /src/lua_interface.c
parent99c71445d4892fb8d465dc33767ac2fbc769ec50 (diff)
downloadtextadept-a87d7403532c3a2be43e158e0cf3dd1e8e82f7ab.tar.gz
textadept-a87d7403532c3a2be43e158e0cf3dd1e8e82f7ab.zip
Updated Textadept to compile and run on OSX with native GTK framework.
Diffstat (limited to 'src/lua_interface.c')
-rw-r--r--src/lua_interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lua_interface.c b/src/lua_interface.c
index dc5bfa0b..4ae435f0 100644
--- a/src/lua_interface.c
+++ b/src/lua_interface.c
@@ -114,6 +114,9 @@ bool l_init(int argc, char **argv, bool reinit) {
#ifdef WIN32
lua_pushboolean(lua, 1); lua_setglobal(lua, "WIN32");
#endif
+#ifdef MAC
+ lua_pushboolean(lua, 1); lua_setglobal(lua, "MAC");
+#endif
return l_load_script("core/init.lua");
}