some more multiplatform support

This commit is contained in:
Berke Viktor
2011-12-11 18:04:35 +01:00
parent 132ef6cb50
commit 13ee029364
15 changed files with 21 additions and 22 deletions

View File

@@ -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) )

View File

@@ -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