summaryrefslogtreecommitdiff
path: root/devel/nspr/files/patch-pthread_t
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-07-31 00:10:29 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-07-31 00:10:29 +0000
commitadb2f7b997c4d539908309f17fc4f0e508917e05 (patch)
treed938bcfccf6eae38f4a18c8f5af1fffd8335d8e7 /devel/nspr/files/patch-pthread_t
parent* Update to 3.10 [1] (diff)
Fix build to eliminate warnings, and get all vendor regression tests to
succeed. Tests will be run automatically on the package building cluster. Submitted by: mi
Notes
Notes: svn path=/head/; revision=140511
Diffstat (limited to 'devel/nspr/files/patch-pthread_t')
-rw-r--r--devel/nspr/files/patch-pthread_t8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/nspr/files/patch-pthread_t b/devel/nspr/files/patch-pthread_t
index e763d64cecd2..bb7793ea8a37 100644
--- a/devel/nspr/files/patch-pthread_t
+++ b/devel/nspr/files/patch-pthread_t
@@ -33,3 +33,11 @@ Better to just keep calling it pthread_t isntead of casting to anything.
+ return thred->id; /* and I don't know what they will do with it */
#endif
}
+@@ -1116,5 +1116,7 @@
+ PRStatus rv = PR_SUCCESS;
+ PRThread* thred = pt_book.first;
++#if !defined(_PR_DCETHREADS) && (defined(DEBUG) || defined(FORCE_PR_ASSERT))
+ PRThread *me = PR_CurrentThread();
++#endif
+
+ PR_LOG(_pr_gc_lm, PR_LOG_ALWAYS, ("Begin PR_EnumerateThreads\n"));