aboutsummaryrefslogtreecommitdiff
path: root/src/stringprep
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2004-03-21 20:27:09 +0000
committerAlexey Shchepin <alexey@process-one.net>2004-03-21 20:27:09 +0000
commitb75fb79677a90fd1885eb43c98158910da940ff5 (patch)
tree170af57c951451edd08c09409f1200f3f0a17fb0 /src/stringprep
parent* doc/guide.tex: Updated (diff)
* (all): Updated win32 stuff (thanks to Sergei Golovan)
* src/web/ejabberd_web.erl: Added interface for access rules configuration SVN Revision: 221
Diffstat (limited to 'src/stringprep')
-rw-r--r--src/stringprep/Makefile.win324
-rw-r--r--src/stringprep/stringprep_drv.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/stringprep/Makefile.win32 b/src/stringprep/Makefile.win32
index 5339e3d2e..4f46efda2 100644
--- a/src/stringprep/Makefile.win32
+++ b/src/stringprep/Makefile.win32
@@ -19,7 +19,7 @@ $(OUTDIR)\stringprep.beam : stringprep.erl
erlc -W $(EFLAGS) -o $(OUTDIR) stringprep.erl
CPP=cl.exe
-CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "$(ERLANG_DIR)\usr\include" /I "$(EI_DIR)\include" /D "WIN32" /D "NDEBUG" /D "_USRDLL" /D "_MBCS" /Fpstringprep_drv.pch /YX /FD /c
+CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "$(ERLANG_DIR)\usr\include" /I "$(EI_DIR)\include" /D "__WIN32__" /D "WIN32" /D "NDEBUG" /D "_USRDLL" /D "_MBCS" /Fpstringprep_drv.pch /YX /FD /c
.c.obj::
$(CPP) @<<
@@ -27,7 +27,7 @@ CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "$(ERLANG_DIR)\usr\include" /I "$(EI_DIR)\in
<<
LINK32=link.exe
-LINK32_FLAGS=kernel32.lib "$(ERLANG_DIR)\usr\lib\erl_dll.lib" "$(EI_DIR)\lib\ei.lib" "$(EI_DIR)\lib\erl_interface.lib" /nologo /subsystem:console /dll /pdb:none /machine:I386 /out:$(OUTDIR)\stringprep_drv.dll
+LINK32_FLAGS=kernel32.lib "$(EI_DIR)\lib\ei.lib" "$(EI_DIR)\lib\erl_interface.lib" /nologo /subsystem:console /dll /pdb:none /machine:I386 /out:$(OUTDIR)\stringprep_drv.dll /nodefaultlib:libcmt
LINK32_OBJS=stringprep_drv.obj
diff --git a/src/stringprep/stringprep_drv.c b/src/stringprep/stringprep_drv.c
index 13aba69bc..2ae83be80 100644
--- a/src/stringprep/stringprep_drv.c
+++ b/src/stringprep/stringprep_drv.c
@@ -1,6 +1,7 @@
/* $Id$ */
#include <stdio.h>
+#include <string.h>
#include <erl_driver.h>
#include <ei.h>