updated for version 7.3.719

Problem:    Cannot run new version of cproto, it fails on missing include
            files.
Solution:   Add lots of #ifndef PROTO
This commit is contained in:
Bram Moolenaar
2012-11-20 16:53:39 +01:00
parent 0ac24e1ef4
commit 8288149866
18 changed files with 178 additions and 63 deletions

View File

@ -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.