add wdk changes to named branch
This commit is contained in:
18
plugins/xdcc/makefile.mak
Normal file
18
plugins/xdcc/makefile.mak
Normal 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
|
@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user