mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
Patches from WRS:
Mon Sep 21 14:33:58 1992 Ian Lance Taylor (ian@cygnus.com) * hosts/hp9000.h, hosts/irix3.h: changes from WRS.
This commit is contained in:
@ -12,6 +12,8 @@
|
|||||||
#define SEEK_SET 0
|
#define SEEK_SET 0
|
||||||
#define SEEK_CUR 1
|
#define SEEK_CUR 1
|
||||||
|
|
||||||
|
void free();
|
||||||
|
|
||||||
/* Some things that need to be defined in order to make code written for
|
/* Some things that need to be defined in order to make code written for
|
||||||
BSD Unix compile under System V Unix. */
|
BSD Unix compile under System V Unix. */
|
||||||
|
|
||||||
@ -20,12 +22,14 @@
|
|||||||
#define bcopy(src,dst,len) memcpy(dst,src,len)
|
#define bcopy(src,dst,len) memcpy(dst,src,len)
|
||||||
#define bzero(s,n) memset(s,0,n)
|
#define bzero(s,n) memset(s,0,n)
|
||||||
|
|
||||||
|
#if 0
|
||||||
static int
|
static int
|
||||||
rename(from, to)
|
rename(from, to)
|
||||||
{
|
{
|
||||||
unlink(to);
|
unlink(to);
|
||||||
return(link(from, to));
|
return(link(from, to));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Might not need these. Leave them out for now.
|
* Might not need these. Leave them out for now.
|
||||||
|
@ -17,6 +17,13 @@
|
|||||||
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SEEK_SET
|
||||||
|
# ifndef L_SET
|
||||||
|
# define L_SET SEEK_SET
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
#if !defined (SEEK_SET)
|
#if !defined (SEEK_SET)
|
||||||
#define SEEK_SET 0
|
#define SEEK_SET 0
|
||||||
#define SEEK_CUR 1
|
#define SEEK_CUR 1
|
||||||
|
Reference in New Issue
Block a user