chg: adding execute/home/current working directory functions to lua
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user