xref: /original-bsd/share/zoneinfo/DIST/stdio.h (revision 1b4ef7de)
1 #ifndef lint
2 #ifndef NOID
3 #ifndef STDIO_H
4 #define STDIO_H
5 static char	stdiohid[] = "@(#)stdio.h	4.2";
6 #endif /* !defined STDIO_H */
7 #endif /* !defined NOID */
8 #endif /* !defined lint */
9 
10 #ifdef STDIO_RECURSING
11 #include "/usr/include/stdio.h"
12 #else /* !defined STDIO_RECURSING */
13 #define STDIO_RECURSING
14 #include <stdio.h>
15 #undef STDIO_RECURSING
16 #endif /* !defined STDIO_RECURSING */
17 
18 #ifndef FILENAME_MAX
19 
20 #ifndef MAXPATHLEN
21 #ifdef unix
22 #include <sys/param.h>
23 #endif /* defined unix */
24 #endif /* !defined MAXPATHLEN */
25 
26 #ifdef MAXPATHLEN
27 #define FILENAME_MAX	MAXPATHLEN
28 #else /* !defined MAXPATHLEN */
29 #define FILENAME_MAX	1024		/* Pure guesswork */
30 #endif /* !defined MAXPATHLEN */
31 
32 #endif /* !defined FILENAME_MAX */
33 
34 #ifdef __STDC__
35 #ifdef __GNUC__
36 #ifndef remove
37 #define remove(name)	unlink(name)
38 #endif /* !defined remove */
39 #endif /* defined __GNUC__ */
40 #endif /* defined __STDC__ */
41 
42 #ifndef __STDC__
43 #ifdef unix
44 
45 #include <sys/param.h>
46 #ifndef BSD
47 extern void	perror();
48 #endif /* !defined BSD */
49 
50 #define remove(name)	unlink(name)
51 
52 #endif /* defined unix */
53 #endif /* !defined __STDC__ */
54 
55 /*
56 ** UNIX is a registered trademark of AT&T.
57 */
58