old-cross-binutils/bfd/hosts/i386v.h

37 lines
780 B
C
Raw Normal View History

1991-04-15 15:29:40 +00:00
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
1991-09-20 03:44:17 +00:00
#include <sys/types.h>
1991-04-15 15:29:40 +00:00
#include <sys/stat.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
1991-04-15 15:29:40 +00:00
#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif
#ifndef SEEK_SET
1991-04-15 15:29:40 +00:00
#define SEEK_SET 0
#define SEEK_CUR 1
#endif
#define USE_UTIME
/* Some things that need to be defined in order to make code written for
BSD Unix compile under System V Unix. */
1991-04-15 15:29:40 +00:00
/*#include <memory.h>*/
1991-04-15 15:29:40 +00:00
#define bcmp(b1,b2,len) memcmp(b1,b2,len)
#define bcopy(src,dst,len) memcpy(dst,src,len)
#define bzero(s,n) memset(s,0,n)
#include <string.h>
1991-05-25 01:52:23 +00:00
#ifndef DONTDECLARE_MALLOC
1992-03-13 15:57:41 +00:00
extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (PTR, unsigned));
1992-03-13 15:57:41 +00:00
extern void EXFUN(free,(PTR));
1991-05-25 01:52:23 +00:00
#endif
#include "fopen-same.h"