some more multiplatform support
This commit is contained in:
@@ -43,12 +43,12 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include "../../src/common/dirent.h"
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <direct.h> /* for getcwd */
|
||||
#include "../../src/common/dirent-win32.h"
|
||||
#endif
|
||||
|
||||
#if !( defined(_WIN32) || defined(LXC_XCHAT_GETTEXT) )
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent.lib
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
|
||||
all: lua.obj lua.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib $(DIRENTLIB) /def:lua.def lua.obj
|
||||
|
||||
Reference in New Issue
Block a user