From 5f758e821af54b244dc9f5f60822f99028267121 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Mon, 28 Nov 2011 20:42:10 +0100 Subject: [PATCH] more winsys fixes and build as c++ --- plugins/winsys/makefile.mak | 6 +++--- plugins/winsys/{winsys.c => winsys.cpp} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename plugins/winsys/{winsys.c => winsys.cpp} (100%) 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 similarity index 100% rename from plugins/winsys/winsys.c rename to plugins/winsys/winsys.cpp