summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2011-03-29 22:39:04 -0400
committerJeff Muizelaar <jmuizelaar@mozilla.com>2011-03-29 22:50:20 -0400
commit02e88cecd09b2623fa6dd033daf272406e0962f9 (patch)
tree3cc75a9879e9c596720b3ba14e16b1ac83011b4c
parent401b548d2216ff78a14cc3e8126b3f3d2a710b34 (diff)
Fix build on mingw
Bug 561787
-rw-r--r--qcmstypes.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/qcmstypes.h b/qcmstypes.h
index 26c138a..2d98c0c 100644
--- a/qcmstypes.h
+++ b/qcmstypes.h
@@ -25,9 +25,7 @@ typedef PRUint64 uint64_t;
#ifdef __OS2__
/* OS/2's stdlib typdefs uintptr_t. So we'll just include that so we don't collide */
#include <stdlib.h>
-#elif defined(__FreeBSD__)
-/* FreeBSD typedefs uintptr_t in /usr/include/sys/types.h */
-#else
+#elif !defined(__intptr_t_defined) && !defined(_UINTPTR_T_DEFINED)
typedef PRUptrdiff uintptr_t;
#endif
#endif