diff options
Diffstat (limited to '')
-rw-r--r-- | src/stringprep/Makefile.win32 | 4 | ||||
-rw-r--r-- | src/stringprep/stringprep_drv.c | 1 |
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> |