diff options
Diffstat (limited to 'src/os_amiga.h')
-rw-r--r-- | src/os_amiga.h | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/src/os_amiga.h b/src/os_amiga.h index 06e4d1cb9..0395bceb6 100644 --- a/src/os_amiga.h +++ b/src/os_amiga.h @@ -17,9 +17,12 @@ #define HAVE_AVAIL_MEM #ifndef HAVE_CONFIG_H -# ifdef AZTEC_C +# if defined(AZTEC_C) || defined(__amigaos4__) # define HAVE_STAT_H # endif +# ifdef __amigaos4__ +# define HAVE_STDARG_H +# endif # define HAVE_STDLIB_H # define HAVE_STRING_H # define HAVE_FCNTL_H @@ -34,15 +37,24 @@ # define HAVE_DATE_TIME # endif -#define DFLT_ERRORFILE "AztecC.Err" -#define DFLT_RUNTIMEPATH "home:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,home:vimfiles/after" +#endif /* HAVE_CONFIG_H */ -#define BASENAMELEN 26 /* Amiga */ +#ifndef DFLT_ERRORFILE +# define DFLT_ERRORFILE "AztecC.Err" /* Should this change? */ +#endif -#define TEMPNAME "t:v?XXXXXX" -#define TEMPNAMELEN 12 +#ifndef DFLT_RUNTIMEPATH +# define DFLT_RUNTIMEPATH "home:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,home:vimfiles/after" +#endif -#endif /* HAVE_CONFIG_H */ +#ifndef BASENAMELEN +# define BASENAMELEN 26 /* Amiga */ +#endif + +#ifndef TEMPNAME +# define TEMPNAME "t:v?XXXXXX" +# define TEMPNAMELEN 12 +#endif #include <exec/types.h> #include <libraries/dos.h> @@ -155,9 +167,9 @@ typedef long off_t; #endif #ifdef FEAT_VIMINFO -#ifndef VIMINFO_FILE -# define VIMINFO_FILE "s:.viminfo" -#endif +# ifndef VIMINFO_FILE +# define VIMINFO_FILE "s:.viminfo" +# endif #endif /* FEAT_VIMINFO */ #ifndef EXRC_FILE |