Advertisement
pushrbx

Untitled

Sep 27th, 2013
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.84 KB | None | 0 0
  1. typedef unsigned char       sgBool;
  2. typedef char                sgChar;
  3. #ifdef __cplusplus
  4. typedef wchar_t             sgWChar;
  5. #else
  6. typedef unsigned short      sgWChar;
  7. #endif
  8. typedef unsigned char       sgByte;
  9. typedef signed short        sgShort;
  10. typedef unsigned short      sgUShort;
  11. typedef signed int          sgInt;
  12. typedef unsigned int        sgUInt;
  13. typedef signed long         sgLong;
  14. typedef unsigned long       sgULong;
  15. typedef signed long long    sgLongLong;
  16. typedef unsigned long long  sgULongLong;
  17. typedef float               sgSingle;
  18. typedef double              sgDouble;
  19. typedef void                sgVoid;
  20.  
  21. #ifdef _MSC_VER
  22.     typedef unsigned __int8     sgUInt8;
  23.     typedef unsigned __int16    sgUInt16;
  24.     typedef unsigned __int32    sgUInt32;
  25.     typedef unsigned __int64    sgUInt64;
  26. #else
  27. #   include <stdint.h>
  28.  
  29.     typedef uint8_t     sgUInt8;
  30.     typedef uint16_t    sgUInt16;
  31.     typedef uint32_t    sgUInt32;
  32.     typedef uint64_t    sgUInt64;
  33. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement