diff -u oo_1.1_src/lingucomponent/source/spellcheck/hspell/dict_radix.c download/lingucomponent/source/spellcheck/hspell/dict_radix.c --- oo_1.1_src/lingucomponent/source/spellcheck/hspell/dict_radix.c Thu May 6 13:47:37 2004 +++ download/lingucomponent/source/spellcheck/hspell/dict_radix.c Tue Feb 3 12:52:42 2004 @@ -12,7 +12,7 @@ */ #ifdef WIN32 -#define snprintf _snprintf +#include "snprintf.h" typedef unsigned __int32 uint32_t; #else #include diff -u oo_1.1_src/lingucomponent/source/spellcheck/hspell/hspell.c download/lingucomponent/source/spellcheck/hspell/hspell.c --- oo_1.1_src/lingucomponent/source/spellcheck/hspell/hspell.c Thu May 6 13:49:43 2004 +++ download/lingucomponent/source/spellcheck/hspell/hspell.c Tue Jan 6 10:26:49 2004 @@ -14,7 +14,7 @@ #include "hash.h" #include "hspell.h" #ifdef WIN32 -#define snprintf _snprintf +#include "snprintf.h" #endif #define HSPELL_VERSION "0.6" diff -u oo_1.1_src/lingucomponent/source/spellcheck/hspell/makefile.mk download/lingucomponent/source/spellcheck/hspell/makefile.mk --- oo_1.1_src/lingucomponent/source/spellcheck/hspell/makefile.mk Thu May 6 13:49:34 2004 +++ download/lingucomponent/source/spellcheck/hspell/makefile.mk Wed Dec 31 14:01:10 2003 @@ -133,6 +133,7 @@ $(SLO)$/tclHash.obj \ $(SLO)$/sprophelp.obj \ $(SLO)$/hsreg.obj \ + $(SLO)$/snprintf.obj \ $(SLO)$/hspellimp.obj @@ -154,6 +155,10 @@ $(LNGLIB) \ $(ULINGULIB) +.IF "$(GUI)"=="WNT" +SLOFILES += $(SLO)$/snprintf.obj +.ENDIF # wnt + # build DLL SHL1LIBS= $(SLB)$/$(TARGET).lib SHL1IMPLIB= i$(TARGET)