aboutsummaryrefslogtreecommitdiff
path: root/devel/nspr/files/patch-pthread_t
diff options
context:
space:
mode:
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"));