chg: adding execute/home/current working directory functions to lua

This commit is contained in:
iceman1001 committed 2020-05-19 09:13:31 +02:00
1 parent 23d754c85f
commit 966bcc0d28
5 files changed
+64 -24

No files matched your search

-9
View File
@@ -29,15 +29,6 @@
static int CmdHelp(const char *Cmd);
static int setCmdHelp(const char *Cmd);
// Load all settings into memory (struct)
#ifdef _WIN32
#include <direct.h>
#define GetCurrentDir _getcwd
#else
#include <unistd.h>
#define GetCurrentDir getcwd
#endif
static char *prefGetFilename(void) {
char *path;