* elfcode.h (map_program_segments): Restore check of file_size !=
[deliverable/binutils-gdb.git] / bfd / hosts / hp300.h
CommitLineData
c5652bff 1#include <stddef.h>
bdd4be41
DZ
2#include <fcntl.h>
3#include <errno.h>
4#include <stdio.h>
5#include <sys/types.h>
6#include <sys/stat.h>
7#include <ctype.h>
8#include <string.h>
9#include <sys/file.h>
c5652bff 10#ifndef O_ACCMODE
bdd4be41
DZ
11#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
12#endif
13#define SEEK_SET 0
14#define SEEK_CUR 1
15
a643e626
ILT
16#define HOST_HP300HPUX
17
3fd7451e
ILT
18#define USE_UTIME
19
bdd4be41
DZ
20void free();
21
22/* Some things that need to be defined in order to make code written for
23 BSD Unix compile under System V Unix. */
24
25#include <memory.h>
26#define bcmp(b1,b2,len) memcmp(b1,b2,len)
27#define bcopy(src,dst,len) memcpy(dst,src,len)
28#define bzero(s,n) memset(s,0,n)
29
30#if 0
31static int
32rename(from, to)
33{
34 unlink(to);
35 return(link(from, to));
36}
37#endif
38
bdd4be41 39#include "fopen-same.h"
This page took 0.065622 seconds and 4 git commands to generate.