summaryrefslogtreecommitdiff
path: root/src/os_amiga.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
committerBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
commit82881498663eb692e90dcfb9da0a7f573f228e35 (patch)
treebf2ffc25d638538bd870377c87d07709c0fcae6f /src/os_amiga.h
parent0ac24e1ef4b099c95c55261bc2d227ca5707d295 (diff)
downloadvim-git-82881498663eb692e90dcfb9da0a7f573f228e35.tar.gz
updated for version 7.3.719v7.3.719
Problem: Cannot run new version of cproto, it fails on missing include files. Solution: Add lots of #ifndef PROTO
Diffstat (limited to 'src/os_amiga.h')
-rw-r--r--src/os_amiga.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/os_amiga.h b/src/os_amiga.h
index 0395bceb6..69a1523e4 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -56,6 +56,9 @@
# define TEMPNAMELEN 12
#endif
+/* cproto fails on missing include files */
+#ifndef PROTO
+
#include <exec/types.h>
#include <libraries/dos.h>
#include <libraries/dosextens.h>
@@ -67,6 +70,8 @@
# include <proto/intuition.h>
#endif
+#endif /* PROTO */
+
#define FNAME_ILLEGAL ";*?`#%" /* illegal characters in a file name */
/*
@@ -85,6 +90,7 @@ typedef long off_t;
# include <unistd.h>
#endif
+#ifndef PROTO
/*
* arpbase.h must be included before functions.h
*/
@@ -92,6 +98,8 @@ typedef long off_t;
# include <libraries/arpbase.h>
#endif
+#endif /* PROTO */
+
/*
* This won't be needed if you have a version of Lattice 4.01 without broken
* break signal handling.