home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / bfd / hosts / alphaosf.h next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  1.1 KB  |  51 lines

  1. #include <fcntl.h>
  2. #include <errno.h>
  3. #include <stdio.h>
  4. #include <sys/types.h>
  5. #include <sys/stat.h>
  6. #include <ctype.h>
  7. #include <string.h>
  8. #include <sys/file.h>
  9. #include <alloca.h>
  10.  
  11. /* Make the basic types 64-bit quantities on the host */
  12. #define    HOST_64_BIT    long 
  13. #ifndef DONTDECLARE_MALLOC
  14. extern PTR  EXFUN(malloc,(unsigned));
  15. extern PTR  EXFUN(realloc, (PTR, unsigned));
  16. #endif
  17.  
  18.  
  19.  
  20. /* EXACT TYPES */
  21. typedef char int8e_type;
  22. typedef unsigned char uint8e_type;
  23. typedef short int16e_type;
  24. typedef unsigned short uint16e_type;
  25. typedef int int32e_type;
  26. typedef unsigned int uint32e_type;
  27.  
  28.  
  29.  
  30. typedef unsigned  long uint64e_type;
  31.  
  32.  
  33. /* CORRECT SIZE OR GREATER */
  34. typedef char int8_type;
  35. typedef unsigned char uint8_type;
  36. typedef short int16_type;
  37. typedef unsigned short uint16_type;
  38. typedef int int32_type;
  39. typedef unsigned int uint32_type;
  40.  
  41.  
  42. typedef unsigned  long uint64_type;
  43. typedef  long int64_type;
  44.  
  45.  
  46. #define BYTES_IN_PRINTF_INT 4
  47.  
  48. #define uint64_typeLOW(x) (uint32_type)(((x) & 0xffffffff))
  49. #define uint64_typeHIGH(x) (uint32_type)(((x) >> 32) & 0xffffffff)
  50. #include "fopen-same.h"
  51.