diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-09-21 22:28:42 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-09-21 22:28:42 +0000 |
commit | eee9516d0252e5e8a2090985b02cba858f30b2f7 (patch) | |
tree | ce170db5ab3374a9c67c170cf3c3b6af538007b2 | |
parent | c1ab5dbac9074fa8dfcf88400a1db524da23de2b (diff) | |
download | gdb-eee9516d0252e5e8a2090985b02cba858f30b2f7.zip gdb-eee9516d0252e5e8a2090985b02cba858f30b2f7.tar.gz gdb-eee9516d0252e5e8a2090985b02cba858f30b2f7.tar.bz2 |
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.
-rw-r--r-- | bfd/hosts/hp9000.h | 4 | ||||
-rw-r--r-- | bfd/hosts/irix3.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/bfd/hosts/hp9000.h b/bfd/hosts/hp9000.h index e1c8bb7..9e5c4a3 100644 --- a/bfd/hosts/hp9000.h +++ b/bfd/hosts/hp9000.h @@ -12,6 +12,8 @@ #define SEEK_SET 0 #define SEEK_CUR 1 +void free(); + /* Some things that need to be defined in order to make code written for BSD Unix compile under System V Unix. */ @@ -20,12 +22,14 @@ #define bcopy(src,dst,len) memcpy(dst,src,len) #define bzero(s,n) memset(s,0,n) +#if 0 static int rename(from, to) { unlink(to); return(link(from, to)); } +#endif /* * Might not need these. Leave them out for now. diff --git a/bfd/hosts/irix3.h b/bfd/hosts/irix3.h index 1ae0a58..2af77ba 100644 --- a/bfd/hosts/irix3.h +++ b/bfd/hosts/irix3.h @@ -17,6 +17,13 @@ #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) #endif +#ifdef SEEK_SET +# ifndef L_SET +# define L_SET SEEK_SET +# endif +# endif + + #if !defined (SEEK_SET) #define SEEK_SET 0 #define SEEK_CUR 1 |