--- gforth/engine/engine.c 1999/01/08 16:58:31 1.10 +++ gforth/engine/engine.c 2000/06/14 20:31:47 1.18 @@ -38,6 +38,8 @@ #include #include #include +#include +#include #else #include "systypes.h" #endif @@ -80,6 +82,11 @@ int emitcounter; #endif #define NULLC '\0' +#ifdef MEMCMP_AS_SUBROUTINE +extern int gforth_memcmp(const char * s1, const char * s2, size_t n); +#define memcmp(s1,s2,n) gforth_memcmp(s1,s2,n) +#endif + #ifdef HAS_FILE char *cstr(Char *from, UCell size, int clear) /* return a C-string corresponding to the Forth string ( FROM SIZE ). @@ -132,6 +139,8 @@ char *tilde_cstr(Char *from, UCell size, UCell i; for (i=1; i