summaryrefslogtreecommitdiff
path: root/src/os_amiga.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-11-01 17:12:57 +0000
committerBram Moolenaar <Bram@vim.org>2006-11-01 17:12:57 +0000
commit5a6404cff47a7d35da10ada4d57ec9eb15c1dfab (patch)
treeb97780b30f44153c396036e2274bc4d5e554c590 /src/os_amiga.h
parent219b87038a8ae7e0731677ed265779f3273a5cfa (diff)
downloadvim-git-5a6404cff47a7d35da10ada4d57ec9eb15c1dfab.tar.gz
updated for version 7.0-156v7.0.156
Diffstat (limited to 'src/os_amiga.h')
-rw-r--r--src/os_amiga.h32
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