pkgsrc/www/seamonkey/patches/patch-ba
tnn 527a7b26f2 clone comm-1.9.1 patch set from devel/xulrunner into mail/thunderbird and
www/seamonkey so devel/xulrunner can move forward to 1.9.2.
2010-03-16 10:59:09 +00:00

24 lines
769 B
Text

$NetBSD: patch-ba,v 1.5 2010/03/16 10:59:10 tnn Exp $
pthread_t may be 64-bit, avoid casting it.
--- mozilla/nsprpub/pr/include/private/pprthred.h.orig 2009-11-02 22:43:08.000000000 +0100
+++ mozilla/nsprpub/pr/include/private/pprthred.h
@@ -51,6 +51,8 @@
#include <os2.h>
#endif
+#include <pthread.h>
+
PR_BEGIN_EXTERN_C
/*---------------------------------------------------------------------------
@@ -91,7 +93,7 @@ NSPR_API(void) PR_DetachThread(void);
** Get the id of the named thread. Each thread is assigned a unique id
** when it is created or attached.
*/
-NSPR_API(PRUint32) PR_GetThreadID(PRThread *thread);
+NSPR_API(pthread_t) PR_GetThreadID(PRThread *thread);
/*
** Set the procedure that is called when a thread is dumped. The procedure