add wdk changes to named branch

This commit is contained in:
berkeviktor@aol.com
2011-02-28 18:59:32 +01:00
parent ad7ea4b77e
commit d03d6e606b
152 changed files with 32939 additions and 529 deletions

18
plugins/xdcc/makefile.mak Normal file
View File

@ -0,0 +1,18 @@
include "..\..\src\makeinc.mak"
all: xdcc.obj xdcc.def
link $(LDFLAGS) $(LIBS) /dll /out:xcxdcc.dll /def:xdcc.def xdcc.obj
xdcc.def:
echo EXPORTS > xdcc.def
echo xchat_plugin_init >> xdcc.def
echo xchat_plugin_deinit >> xdcc.def
xdcc.obj: xdcc.c makefile.mak
cl $(CFLAGS) $(GLIB) /I.. xdcc.c
clean:
del *.obj
del *.dll
del *.exp
del *.lib

View File

@ -2,11 +2,11 @@
#include <glib.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "xchat-plugin.h"
#include "../../src/common/xchat.h"
static xchat_plugin *ph; /* plugin handle */