aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/aix4.h
blob: 07bff7d9a0a33d08b55151f7644e1972a099105f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* This file is *really* for an Power, PowerPC running AIX 4... */

#include <stddef.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <string.h>
#include <sys/file.h>
#include <stdlib.h>		/* for malloc() */

/* Defining this variable turns on AIX core file and archive support.  */
#define HOST_AIX

#ifndef	O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif
#define SEEK_SET 0
#define SEEK_CUR 1

#include "fopen-same.h"