home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / amiga / gdb-4.12-src.lha / gdb-4.12 / bfd / hosts / hp300.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-03  |  727 b   |  40 lines

  1. #include <stddef.h>
  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>
  10. #ifndef    O_ACCMODE
  11. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  12. #endif
  13. #define SEEK_SET 0
  14. #define SEEK_CUR 1
  15.  
  16. #define HOST_HP300HPUX
  17.  
  18. #define USE_UTIME
  19.  
  20. void 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
  31. static int
  32. rename(from, to)
  33. {
  34.   unlink(to);
  35.   return(link(from, to));
  36. }
  37. #endif
  38.  
  39. #include "fopen-same.h"
  40.