mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 10:40:19 +00:00
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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent.lib
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
TARGET = $(PERL512OUTPUT)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent.lib
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
TARGET = $(PERL514OUTPUT)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#define _INC_DIRENT /* disable inclusion of perl's dirent.h, we use an own version for win32 */
|
||||
#include "../../src/common/dirent.h"
|
||||
#include "../../src/common/dirent-win32.h"
|
||||
#else
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent.lib
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
TARGET = $(PYTHONOUTPUT)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include "../../src/common/dirent.h"
|
||||
#include "../../src/common/dirent-win32.h"
|
||||
#include "../../config.h"
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user