mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Revert "Update NSPR to 4.18"
This reverts commit 8781f745556be5d7402d0f3adc67ecfe32fe04a0.
This commit is contained in:
parent
9e32522120
commit
cd3167e35d
32 changed files with 395 additions and 295 deletions
|
|
@ -52,7 +52,7 @@ static int _debug_on = 0;
|
|||
|
||||
#define DPRINTF(arg) if (_debug_on) PR_fprintf arg
|
||||
|
||||
#if defined(_PR_PTHREADS)
|
||||
#if defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS)
|
||||
#include <pthread.h>
|
||||
#include "md/_pth.h"
|
||||
static void *pthread_start(void *arg)
|
||||
|
|
@ -63,7 +63,7 @@ static void *pthread_start(void *arg)
|
|||
start(data);
|
||||
return NULL;
|
||||
} /* pthread_start */
|
||||
#endif /* defined(_PR_PTHREADS) */
|
||||
#endif /* defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS) */
|
||||
|
||||
#if defined(IRIX) && !defined(_PR_PTHREADS)
|
||||
#include <sys/types.h>
|
||||
|
|
@ -109,7 +109,7 @@ static PRStatus NSPRPUB_TESTS_CreateThread(StartFn start, void *arg)
|
|||
}
|
||||
break;
|
||||
case thread_pthread:
|
||||
#if defined(_PR_PTHREADS)
|
||||
#if defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS)
|
||||
{
|
||||
int rv;
|
||||
pthread_t id;
|
||||
|
|
@ -137,7 +137,7 @@ static PRStatus NSPRPUB_TESTS_CreateThread(StartFn start, void *arg)
|
|||
PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
|
||||
rv = PR_FAILURE;
|
||||
break;
|
||||
#endif /* defined(_PR_PTHREADS) */
|
||||
#endif /* defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS) */
|
||||
|
||||
case thread_sproc:
|
||||
#if defined(IRIX) && !defined(_PR_PTHREADS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue