Subversion Repositories Kolibri OS

Rev

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

  1. #ifndef _COMMON_H
  2. #define _COMMON_H
  3.  
  4. typedef unsigned char byte;
  5. typedef unsigned short word;
  6. // conditional compiling, mike.dld
  7. #ifdef WIN32
  8. typedef unsigned __int64 uint64;
  9. #else
  10. typedef unsigned long long uint64;
  11. #define __stdcall __attribute__((stdcall))
  12. #endif
  13. typedef byte bool;
  14. #define true 1
  15. #define false 0
  16.  
  17. extern unsigned pack_length;
  18. extern unsigned pack_pos;
  19. extern const byte* curin;
  20. extern byte* curout;
  21.  
  22. #endif
  23.