summaryrefslogtreecommitdiff
path: root/www/libxul/files/patch-bug787904
blob: 55f7a604681310a866a3b6cc9227a76da32aca2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- js/src/gc/Heap.h
+++ js/src/gc/Heap.h
@@ -108,7 +108,8 @@ struct Cell
  * Bug 692267: Move page size definition to gc/Memory.h and include it
  *             directly once jsgc.h is no longer an installed header.
  */
-#if defined(SOLARIS) && (defined(__sparc) || defined(__sparcv9))
+#if (defined(SOLARIS) || defined(__FreeBSD__)) && \
+    (defined(__sparc) || defined(__sparcv9) || defined(__ia64))
 const size_t PageShift = 13;
 #else
 const size_t PageShift = 12;