зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 138532: use pipes instead of semaphores for NetBSD, which does
not have semaphore.h. Thanks to Chris Seawood <seawood@netscape.com> for the patch. Modified files: sslmutex.h sslmutex.c
This commit is contained in:
Родитель
11791125b2
Коммит
a2dc0c286f
|
@ -30,7 +30,7 @@
|
|||
* may use your version of this file under either the MPL or the
|
||||
* GPL.
|
||||
*
|
||||
* $Id: sslmutex.c,v 1.12 2002-05-16 05:32:30 wtc%netscape.com Exp $
|
||||
* $Id: sslmutex.c,v 1.13 2002-05-16 13:36:02 wtc%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "seccomon.h"
|
||||
|
@ -87,7 +87,7 @@ static SECStatus single_process_sslMutex_Lock(sslMutex* pMutex)
|
|||
return SECSuccess;
|
||||
}
|
||||
|
||||
#if defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI)
|
||||
#if defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI) || defined(NETBSD)
|
||||
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
* may use your version of this file under either the MPL or the
|
||||
* GPL.
|
||||
*
|
||||
* $Id: sslmutex.h,v 1.6 2002-02-27 21:49:41 bishakhabanerjee%netscape.com Exp $
|
||||
* $Id: sslmutex.h,v 1.7 2002-05-16 13:36:02 wtc%netscape.com Exp $
|
||||
*/
|
||||
#ifndef __SSLMUTEX_H_
|
||||
#define __SSLMUTEX_H_ 1
|
||||
|
@ -77,7 +77,7 @@ typedef struct
|
|||
|
||||
typedef int sslPID;
|
||||
|
||||
#elif defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI)
|
||||
#elif defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI) || defined(NETBSD)
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "prtypes.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче