7 /* MPW C is basically ANSI, but doesn't actually enable __STDC__,
8 nor does it allow __STDC__ to be #defined. */
16 #define false mpw_false
32 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
40 /*#include <string.h>*/
42 #ifndef BYTES_IN_PRINTF_INT
43 #define BYTES_IN_PRINTF_INT 4
46 /* Binary files have different characteristics; for instance, no cr/nl
49 #include "fopen-bin.h"
56 #define __PTR_TO_INT(P) ((int)(P))
58 #define __INT_TO_PTR(P) ((char *)(P))
75 #define S_ISREG(m) (0)
76 #define S_ISDIR(m) (0)
87 /* Map these standard functions to improved versions in libiberty. */
89 #define fopen mpw_fopen
90 #define fstat mpw_fstat
91 #define fseek mpw_fseek
92 #define abort mpw_abort
94 /* Define as macros so as to mask the previous enum. */
96 #ifndef BFD_TRUE_FALSE
105 #define TRUE_FALSE_ALREADY_DEFINED
107 #define LOSING_TOTALLY