* hosts/h-*.h: Configure fopen using ../include/fopen-*.h
[deliverable/binutils-gdb.git] / bfd / hosts / rs6000.h
CommitLineData
660f21b7
SC
1#include <fcntl.h>
2#include <errno.h>
3#include <stdio.h>
4#include <sys/types.h>
5#include <sys/stat.h>
6#include <ctype.h>
7#include <string.h>
8#include <sys/file.h>
06d0bdef
JG
9#include <stdlib.h> /* for malloc() */
10
00a76e06
JG
11/* fdopen() won't let you open read-only files for update */
12#define FASCIST_FDOPEN
13
660f21b7
SC
14#ifndef O_ACCMODE
15#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
16#endif
17#define SEEK_SET 0
18#define SEEK_CUR 1
19
20/* EXACT TYPES */
21typedef char int8e_type;
22typedef unsigned char uint8e_type;
23typedef short int16e_type;
24typedef unsigned short uint16e_type;
25typedef int int32e_type;
26typedef unsigned int uint32e_type;
27
28/* CORRECT SIZE OR GREATER */
29typedef char int8_type;
30typedef unsigned char uint8_type;
31typedef short int16_type;
32typedef unsigned short uint16_type;
33typedef int int32_type;
34typedef unsigned int uint32_type;
35
a5431adc 36#include "fopen-same.h"
This page took 0.037645 seconds and 4 git commands to generate.