summaryrefslogtreecommitdiff
path: root/devel/xulrunner/patches/patch-bf
blob: 60999e9fd37e8fe54718b3d036af25c9e42ddcfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bf,v 1.3 2011/07/11 12:46:14 tnn Exp $

--- js/src/jsnativestack.cpp.orig	2011-06-15 21:57:29.000000000 +0000
+++ js/src/jsnativestack.cpp
@@ -145,7 +145,7 @@ GetNativeStackBaseImpl()
     pthread_attr_init(&sattr);
 #  if defined(__OpenBSD__)
     stack_t ss;
-#  elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(NETBSD)
+#  elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(NETBSD) || defined(__NetBSD__) /* XXX tnn not sure why NETBSD isn't defined, it looks like it should be ... */
     /* e.g. on FreeBSD 4.8 or newer, neundorf@kde.org */
     pthread_attr_get_np(thread, &sattr);
 #  else