1 /* Mac MPW host-specific definitions. */
10 /* MPW C is basically ANSI, but doesn't actually enable __STDC__,
11 nor does it allow __STDC__ to be #defined. */
17 /* This bit of ugliness works around the stupid and useless definitions
18 of true and false in BFD header files. */
22 #define false mpw_false
39 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
42 /* Binary files have different characteristics; for instance, no cr/nl
45 #include "fopen-bin.h"
54 #define __PTR_TO_INT(P) ((int)(P))
56 #define __INT_TO_PTR(P) ((char *)(P))
70 /* Map these standard functions to improved versions in libiberty. */
72 #define fopen mpw_fopen
73 #define fseek mpw_fseek
74 #define fread mpw_fread
75 #define fwrite mpw_fwrite
76 #define abort mpw_abort
78 #ifndef TRUE_FALSE_ALREADY_DEFINED
79 #define TRUE_FALSE_ALREADY_DEFINED
84 #define LOSING_TOTALLY
86 /* Define this so that files will be closed before being unlinked. */
88 #define CLOSE_BEFORE_UNLINK
90 #endif /* hosts_mpw_H */
This page took 0.063045 seconds and 5 git commands to generate.