]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - bfd/hosts/mpw.h
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 #ifndef TRUE_FALSE_ALREADY_DEFINED
80 #define TRUE_FALSE_ALREADY_DEFINED
85 #define LOSING_TOTALLY
87 /* Define this so that files will be closed before being unlinked. */
89 #define CLOSE_BEFORE_UNLINK
91 #endif /* hosts_mpw_H */