Subversion Repositories pentevo

Rev

Blame | Last modification | View Log | Download | RSS feed | ?url?

  1. #ifndef MHMT_TYPES_H
  2.  
  3. #define MHMT_TYPES_H
  4.  
  5.  
  6. #ifdef _AMIGA
  7.         #include <exec/types.h>
  8.         typedef signed int OFFSET;
  9. #else
  10.         #include <sys/types.h>
  11.         #define MHMT_OWNTYPES
  12. #endif
  13.  
  14.  
  15. #ifdef MHMT_OWNTYPES
  16. typedef        signed char  BYTE;
  17. typedef      unsigned char UBYTE;
  18.  
  19. typedef   signed short int  WORD;
  20. typedef unsigned short int UWORD;
  21.  
  22. typedef         signed int  LONG;
  23. typedef       unsigned int ULONG;
  24.  
  25. typedef off_t OFFSET; // this will be 32bit signed in 32bit systems and 64bit signed in 64bit linux, don't care of other 64bits yet...
  26. #endif
  27.  
  28. #endif
  29.  
  30.