Bugzilla bug 125730: fixed OpenVMS build breakage. Thanks to Colin Blakes

<colin@theblakes.com> for the patch.
odified Files: sslmutex.c sslmutex.h sslsnce.c
This commit is contained in:
wtc%netscape.com 2002-02-16 02:52:07 +00:00
parent 46efad1b1f
commit ddf21869a1
3 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@
* may use your version of this file under either the MPL or the
* GPL.
*
* $Id: sslmutex.c,v 1.6 2001/10/08 18:49:17 jpierre%netscape.com Exp $
* $Id: sslmutex.c,v 1.7 2002/02/16 02:52:06 wtc%netscape.com Exp $
*/
#include "sslmutex.h"
@ -83,7 +83,7 @@ static SECStatus single_process_sslMutex_Lock(sslMutex* pMutex)
return SECSuccess;
}
#if defined(LINUX) || defined(AIX)
#if defined(LINUX) || defined(AIX) || defined(VMS)
#include <unistd.h>
#include <fcntl.h>

View File

@ -30,7 +30,7 @@
* may use your version of this file under either the MPL or the
* GPL.
*
* $Id: sslmutex.h,v 1.3 2001/10/06 00:14:33 jpierre%netscape.com Exp $
* $Id: sslmutex.h,v 1.4 2002/02/16 02:52:07 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)
#elif defined(LINUX) || defined(AIX) || defined(VMS)
#include <sys/types.h>
#include "prtypes.h"

View File

@ -32,7 +32,7 @@
* may use your version of this file under either the MPL or the
* GPL.
*
* $Id: sslsnce.c,v 1.18 2002/01/09 23:22:19 javi%netscape.com Exp $
* $Id: sslsnce.c,v 1.19 2002/02/16 02:52:07 wtc%netscape.com Exp $
*/
/* Note: ssl_FreeSID() in sslnonce.c gets used for both client and server
@ -246,7 +246,7 @@ static PRBool isMultiProcess = PR_FALSE;
#define MAX_SSL3_TIMEOUT 86400L /* 24 hours */
#define MIN_SSL3_TIMEOUT 5 /* seconds */
#if defined(AIX) || defined(LINUX)
#if defined(AIX) || defined(LINUX) || defined(VMS)
#define MAX_SID_CACHE_LOCKS 8 /* two FDs per lock */
#elif defined(OSF1)
#define MAX_SID_CACHE_LOCKS 16 /* one FD per lock */