1 /* 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. */
19 #define false mpw_false
36 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
45 #ifndef BYTES_IN_PRINTF_INT
46 #define BYTES_IN_PRINTF_INT 4
49 /* Binary files have different characteristics; for instance, no cr/nl
52 #include "fopen-bin.h"
59 #define __PTR_TO_INT(P) ((int)(P))
61 #define __INT_TO_PTR(P) ((char *)(P))
73 /* Map these standard functions to improved versions in libiberty. */
75 #define fopen mpw_fopen
76 #define fseek mpw_fseek
77 #define abort mpw_abort
79 /* Define as macros so as to mask the previous enum. */
81 #ifndef BFD_TRUE_FALSE
90 #ifndef TRUE_FALSE_ALREADY_DEFINED
91 #define TRUE_FALSE_ALREADY_DEFINED
96 #define LOSING_TOTALLY
98 /* Define this so that files will be closed before being unlinked. */
100 #define CLOSE_BEFORE_UNLINK
102 #endif /* hosts_mpw_H */