summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-28 20:42:10 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-28 20:42:10 +0100
commit5f758e821af54b244dc9f5f60822f99028267121 (patch)
treeff32c7efaf4b0e9e6f1ac8cc56200234da68a242 /plugins
parent7116b36d87f73270af3827b9acbaa9456d290cac (diff)
more winsys fixes and build as c++
Diffstat (limited to 'plugins')
-rw-r--r--plugins/winsys/makefile.mak6
-rw-r--r--plugins/winsys/winsys.cpp (renamed from plugins/winsys/winsys.c)0
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/winsys/makefile.mak b/plugins/winsys/makefile.mak
index d7d1e4a9..cb480ac0 100644
--- a/plugins/winsys/makefile.mak
+++ b/plugins/winsys/makefile.mak
@@ -1,15 +1,15 @@
 include "..\..\src\makeinc.mak"

 

 all: winsys.obj winsys.def

-	link $(LDFLAGS) $(LIBS) wbemuuid.lib /dll /out:xcwinsys.dll /def:winsys.def winsys.obj

+	link $(LDFLAGS) $(LIBS) /NODEFAULTLIB:comsupp.lib wbemuuid.lib vccomsup.lib /dll /out:xcwinsys.dll /def:winsys.def winsys.obj

 

 winsys.def:

 	echo EXPORTS > winsys.def

 	echo xchat_plugin_init >> winsys.def

 	echo xchat_plugin_deinit >> winsys.def

 

-winsys.obj: winsys.c makefile.mak

-	cl $(CFLAGS) $(GLIB) /Zc:wchar_t- /I.. winsys.c

+winsys.obj: winsys.cpp makefile.mak

+	cl $(CFLAGS) $(GLIB) /Zc:wchar_t- /I.. winsys.cpp

 

 clean:

 	del *.obj

diff --git a/plugins/winsys/winsys.c b/plugins/winsys/winsys.cpp
index b3a77629..b3a77629 100644
--- a/plugins/winsys/winsys.c
+++ b/plugins/winsys/winsys.cpp