home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lxapi32.zip / Include / asm / types.h < prev    next >
C/C++ Source or Header  |  2002-04-26  |  899b  |  45 lines

  1. /* $Id: types.h,v 1.2 2002/04/26 23:09:21 smilcke Exp $ */
  2.  
  3. #ifndef _I386_TYPES_H
  4. #define _I386_TYPES_H
  5.  
  6. typedef unsigned short umode_t;
  7.  
  8. /*
  9.  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  10.  * header files exported to user space
  11.  */
  12.  
  13. typedef signed char __s8;
  14. typedef unsigned char __u8;
  15.  
  16. typedef signed short __s16;
  17. typedef unsigned short __u16;
  18.  
  19. typedef signed int __s32;
  20. typedef unsigned int __u32;
  21.  
  22. #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
  23. typedef signed long long __s64;
  24. typedef unsigned long long __u64;
  25. #endif
  26.  
  27. /*
  28.  * These aren't exported outside the kernel to avoid name space clashes
  29.  */
  30.  
  31. typedef signed char s8;
  32. typedef unsigned char u8;
  33.  
  34. typedef signed short s16;
  35. typedef unsigned short u16;
  36.  
  37. typedef signed int s32;
  38. typedef unsigned int u32;
  39.  
  40. typedef signed __int64 s64;
  41. typedef unsigned __int64 u64;
  42.  
  43.  
  44. #endif
  45.