Bug 651444 - Dont redefine intX_t types on OpenBSD; r=jmuizelaar
authorLandry Breuil <landry@openbsd.org>
Tue, 20 Sep 2011 17:32:18 +0100
changeset 77208 2718a99132a26f0f4d125f8a487d4dc686b745a6
parent 77207 fd0c39b06b26a9bafc445cd842b9fdc6cbb44020
child 77209 21a39c2f9060c50afcc1e3e593bd49b55345e19d
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersjmuizelaar
bugs651444
milestone9.0a1
Bug 651444 - Dont redefine intX_t types on OpenBSD; r=jmuizelaar
gfx/qcms/qcmstypes.h
--- a/gfx/qcms/qcmstypes.h
+++ b/gfx/qcms/qcmstypes.h
@@ -7,17 +7,17 @@
 
 /* prtypes.h defines IS_LITTLE_ENDIAN and IS_BIG ENDIAN */
 
 #if defined (__SVR4) && defined (__sun)
 /* int_types.h gets included somehow, so avoid redefining the types differently */
 #include <sys/int_types.h>
 #elif defined (_AIX)
 #include <sys/types.h>
-#elif !defined(ANDROID)
+#elif !defined(ANDROID) && !defined(__OpenBSD__)
 typedef PRInt8 int8_t;
 typedef PRUint8 uint8_t;
 typedef PRInt16 int16_t;
 typedef PRUint16 uint16_t;
 typedef PRInt32 int32_t;
 typedef PRUint32 uint32_t;
 typedef PRInt64 int64_t;
 typedef PRUint64 uint64_t;