version 1.87, 2005/12/31 15:46:13
|
version 1.89, 2006/03/11 22:22:40
|
Line 46
|
Line 46
|
#include <unistd.h> |
#include <unistd.h> |
#include <pwd.h> |
#include <pwd.h> |
#include <dirent.h> |
#include <dirent.h> |
|
#include <wchar.h> |
#include <sys/resource.h> |
#include <sys/resource.h> |
#ifdef HAVE_FNMATCH_H |
#ifdef HAVE_FNMATCH_H |
#include <fnmatch.h> |
#include <fnmatch.h> |
Line 242 extern int gforth_memcmp(const char * s1
|
Line 243 extern int gforth_memcmp(const char * s1
|
#endif |
#endif |
|
|
#if defined(HAS_FFCALL) || defined(HAS_LIBFFI) |
#if defined(HAS_FFCALL) || defined(HAS_LIBFFI) |
#define SAVE_REGS IF_fpTOS(fp[0]=fpTOS); SP=sp; FP=fp; RP=rp; LP=lp; |
#define SAVE_REGS IF_fpTOS(fp[0]=fpTOS); gforth_SP=sp; gforth_FP=fp; gforth_RP=rp; gforth_LP=lp; |
#define REST_REGS sp=SP; fp=FP; rp=RP; lp=LP; IF_fpTOS(fpTOS=fp[0]); |
#define REST_REGS sp=gforth_SP; fp=gforth_FP; rp=gforth_RP; lp=gforth_LP; IF_fpTOS(fpTOS=fp[0]); |
#endif |
#endif |
|
|
#if !defined(ENGINE) |
#if !defined(ENGINE) |
Line 308 Label *engine(Xt *ip0, Cell *sp0, Cell *
|
Line 309 Label *engine(Xt *ip0, Cell *sp0, Cell *
|
extern void ** clist; |
extern void ** clist; |
extern void ffi_callback(ffi_cif * cif, void * resp, void ** args, Xt * ip); |
extern void ffi_callback(ffi_cif * cif, void * resp, void ** args, Xt * ip); |
#endif |
#endif |
register Address up UPREG = UP; |
register Address up UPREG = gforth_UP; |
register Cell MAYBE_UNUSED spTOS TOSREG; |
register Cell MAYBE_UNUSED spTOS TOSREG; |
register Cell MAYBE_UNUSED spb spbREG; |
register Cell MAYBE_UNUSED spb spbREG; |
register Cell MAYBE_UNUSED spc spcREG; |
register Cell MAYBE_UNUSED spc spcREG; |