summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-12-11 18:04:35 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-12-11 18:04:35 +0100
commit13ee029364b37eca95c43641420e75c872b32653 (patch)
treeef13e150cc5d2e15d4c879af644d9ba242c9c182 /plugins
parent132ef6cb50201cb6ab8ab0609a88ccce62aa6a21 (diff)
some more multiplatform support
Diffstat (limited to 'plugins')
-rw-r--r--plugins/lua/lua.c2
-rw-r--r--plugins/lua/makefile.mak2
-rw-r--r--plugins/perl/makefile-512.mak2
-rw-r--r--plugins/perl/makefile-514.mak2
-rw-r--r--plugins/perl/perl.c2
-rw-r--r--plugins/python/makefile.mak2
-rw-r--r--plugins/python/python.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c
index 9574fd4d..9f29bf08 100644
--- a/plugins/lua/lua.c
+++ b/plugins/lua/lua.c
@@ -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) )
diff --git a/plugins/lua/makefile.mak b/plugins/lua/makefile.mak
index fbc94072..97a7e10b 100644
--- a/plugins/lua/makefile.mak
+++ b/plugins/lua/makefile.mak
@@ -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 

diff --git a/plugins/perl/makefile-512.mak b/plugins/perl/makefile-512.mak
index 677c9073..7f2fbe04 100644
--- a/plugins/perl/makefile-512.mak
+++ b/plugins/perl/makefile-512.mak
@@ -1,6 +1,6 @@
 include "..\..\src\makeinc.mak"
 
-DIRENTLIB = ..\..\src\common\dirent.lib
+DIRENTLIB = ..\..\src\common\dirent-win32.lib
 TARGET = $(PERL512OUTPUT)
 
 all: $(TARGET)
diff --git a/plugins/perl/makefile-514.mak b/plugins/perl/makefile-514.mak
index c31a7ec4..4c8d0ebd 100644
--- a/plugins/perl/makefile-514.mak
+++ b/plugins/perl/makefile-514.mak
@@ -1,6 +1,6 @@
 include "..\..\src\makeinc.mak"
 
-DIRENTLIB = ..\..\src\common\dirent.lib
+DIRENTLIB = ..\..\src\common\dirent-win32.lib
 TARGET = $(PERL514OUTPUT)
 
 all: $(TARGET)
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index a2763771..719ef292 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -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
diff --git a/plugins/python/makefile.mak b/plugins/python/makefile.mak
index 8cbba3f5..bc004577 100644
--- a/plugins/python/makefile.mak
+++ b/plugins/python/makefile.mak
@@ -1,6 +1,6 @@
 include "..\..\src\makeinc.mak"
 
-DIRENTLIB = ..\..\src\common\dirent.lib
+DIRENTLIB = ..\..\src\common\dirent-win32.lib
 TARGET = $(PYTHONOUTPUT)
 
 all: $(TARGET)
diff --git a/plugins/python/python.c b/plugins/python/python.c
index 3c535057..dcf4fc8f 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -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>