Share Pastebin
Guest
Public paste!

Maik Schulz

By: a guest | Mar 29th, 2010 | Syntax: Objective C | Size: 0.50 KB | Hits: 136 | Expires: Never
Copy text to clipboard
  1. /* SVR4 typedef of uint is commonly found on UNIX machines. */
  2. #if defined(XP_UNIX) && !defined(__QNXNTO__)
  3. #include <sys/types.h>
  4. #else
  5. typedef JSUintn uint;
  6. #endif
  7.  
  8. typedef JSUintn uintn;
  9. #ifndef OOLITE_MAC_OS_X
  10. typedef JSUint64 uint64;
  11. #else
  12. typedef unsigned long long uint64;
  13. #endif
  14. #if !defined(_WIN32) && !defined(XP_OS2)
  15. typedef JSUint32 uint32;
  16. #else
  17. typedef unsigned long uint32;
  18. #endif
  19. typedef JSUint16 uint16;
  20. typedef JSUint8 uint8;
  21.  
  22. #ifndef _XP_Core_
  23. typedef JSIntn intn;
  24. #endif