X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/49a54f16c613407ada65dee32493f4878d199aa1..e14f25331be47e565ff6ae8cd7fb372fd329aff1:/csrc/pf_inner.c diff --git a/csrc/pf_inner.c b/csrc/pf_inner.c index d616c22..8a31b0e 100644 --- a/csrc/pf_inner.c +++ b/csrc/pf_inner.c @@ -26,7 +26,11 @@ ** ***************************************************************/ +#ifndef AMIGA #include +#else +typedef long off_t; +#endif #include "pf_all.h" @@ -195,11 +199,11 @@ static void TraceNames( ExecToken Token, cell_t Level ) /* Use local copy of CODE_BASE for speed. */ #define LOCAL_CODEREL_TO_ABS( a ) ((cell_t *) (((cell_t) a) + CodeBase)) -static const char *pfSelectFileModeCreate( int fam ); -static const char *pfSelectFileModeOpen( int fam ); +static const char *pfSelectFileModeCreate( cell_t fam ); +static const char *pfSelectFileModeOpen( cell_t fam ); /**************************************************************/ -static const char *pfSelectFileModeCreate( int fam ) +static const char *pfSelectFileModeCreate( cell_t fam ) { const char *famText = NULL; switch( fam ) @@ -224,7 +228,7 @@ static const char *pfSelectFileModeCreate( int fam ) } /**************************************************************/ -static const char *pfSelectFileModeOpen( int fam ) +static const char *pfSelectFileModeOpen( cell_t fam ) { const char *famText = NULL; switch( fam )