Started to add Lua support to AROS.
src/Makefile: link with lua. Note that I'm currently using an absolute path to include/lua which only exits on my machine until AROS has support for pkg-config. src/setup.h: added valid path to lua scripts. src/io.c: take colon into account when checking for last separator. src/factory.c: use luaL_newstate() instead of lua_open() because latter doesn't exist anymore in Lua-5.2. Note: that fix should be valid for all platforms. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1977 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -73,6 +73,8 @@ void Set_config_directory(const char * program_dir, char * config_dir);
|
||||
/// Name of the subdirectory containing scripts
|
||||
#if defined (__MINT__)
|
||||
#define SCRIPTS_SUBDIRECTORY "SCRIPTS"
|
||||
#elif defined(__AROS__)
|
||||
#define SCRIPTS_SUBDIRECTORY "share/grafx2/scripts"
|
||||
#else
|
||||
#define SCRIPTS_SUBDIRECTORY "scripts"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user