patch-gfx_qcms_qcmstypes_h 799 B

1234567891011121314151617181920212223242526
  1. --- mozilla-1.9.2.orig/gfx/qcms/qcmstypes.h 2010-04-02 18:02:27.000000000 +0200
  2. +++ mozilla-1.9.2/gfx/qcms/qcmstypes.h 2010-04-30 17:58:33.490975825 +0200
  3. @@ -11,22 +11,12 @@
  4. /* int_types.h gets included somehow, so avoid redefining the types differently */
  5. #include <sys/int_types.h>
  6. #else
  7. -typedef PRInt8 int8_t;
  8. -typedef PRUint8 uint8_t;
  9. -typedef PRInt16 int16_t;
  10. -typedef PRUint16 uint16_t;
  11. -typedef PRInt32 int32_t;
  12. -typedef PRUint32 uint32_t;
  13. -typedef PRInt64 int64_t;
  14. -typedef PRUint64 uint64_t;
  15. -
  16. +#include <stdint.h>
  17. #ifdef __OS2__
  18. /* OS/2's stdlib typdefs uintptr_t. So we'll just include that so we don't collide */
  19. #include <stdlib.h>
  20. #elif defined(__FreeBSD__)
  21. /* FreeBSD typedefs uintptr_t in /usr/include/sys/types.h */
  22. -#else
  23. -typedef PRUptrdiff uintptr_t;
  24. #endif
  25. #endif