* apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
[deliverable/binutils-gdb.git] / bfd / hosts / i386v.h
1 #include <fcntl.h>
2 #include <errno.h>
3 #include <stdio.h>
4 #include <sys/types.h>
5 #include <sys/stat.h>
6 #include <utime.h>
7 #include <ctype.h>
8 #include <string.h>
9 #include <unistd.h>
10
11 #ifndef O_ACCMODE
12 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
13 #endif
14 #ifndef SEEK_SET
15 #define SEEK_SET 0
16 #define SEEK_CUR 1
17 #endif
18
19 #define POSIX_UTIME
20
21 /* Some things that need to be defined in order to make code written for
22 BSD Unix compile under System V Unix. */
23
24 /*#include <memory.h>*/
25 #define bcmp(b1,b2,len) memcmp(b1,b2,len)
26 #define bcopy(src,dst,len) memcpy(dst,src,len)
27 #define bzero(s,n) memset(s,0,n)
28
29 #include <string.h>
30 #define index(s,c) strchr(s,c)
31 #define rindex(s,c) strrchr(s,c)
32
33 #ifndef DONTDECLARE_MALLOC
34 extern PTR EXFUN(malloc,(unsigned));
35 extern PTR EXFUN(realloc, (PTR, unsigned));
36 extern void EXFUN(free,(PTR));
37 #endif
38
39 /* EXACT TYPES */
40 typedef char int8e_type;
41 typedef unsigned char uint8e_type;
42 typedef short int16e_type;
43 typedef unsigned short uint16e_type;
44 typedef int int32e_type;
45 typedef unsigned int uint32e_type;
46
47 /* CORRECT SIZE OR GREATER */
48 typedef char int8_type;
49 typedef unsigned char uint8_type;
50 typedef short int16_type;
51 typedef unsigned short uint16_type;
52 typedef int int32_type;
53 typedef unsigned int uint32_type;
54
55 #include "fopen-same.h"
This page took 0.029834 seconds and 4 git commands to generate.