Remove old NSPR20 #ifdef

git-svn-id: svn://10.0.0.236/trunk@11433 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cyeh%netscape.com 1998-09-29 21:29:23 +00:00
parent c446d724e8
commit 344f351c38
3 changed files with 0 additions and 36 deletions

View File

@ -127,7 +127,6 @@ void SEC_Init(void)
}
#ifdef SOURCE_KIT
#ifdef NSPR20
static PRIntervalTime sec_io_timeout = PR_INTERVAL_NO_TIMEOUT;
@ -172,31 +171,4 @@ int SEC_Recv(int s, void *buf, int len, int flags)
return rv;
}
#else /* NSPR20 */
int SEC_Send(int s, const void *buf, int len, int flags)
{
int rv;
/* Brutal workaround for bug in Solaris 2.4 send routine */
#if defined(__sun) && defined(SYSV)
rv = XP_SOCK_SEND(s, buf, len, flags);
#else
rv = XP_SOCK_WRITE(s, buf, len);
#endif
if (rv < 0)
XP_SetError(XP_SOCK_ERRNO);
return rv;
}
int SEC_Recv(int s, void *buf, int len, int flags)
{
int rv;
rv = XP_SOCK_RECV(s, buf, len, flags);
if (rv < 0)
XP_SetError(XP_SOCK_ERRNO);
return rv;
}
#endif /* NSPR20 */
#endif /* SOURCE_KIT */

View File

@ -25,11 +25,7 @@
/* #include "jsscope.h" */
#include "jsatom.h"
#ifndef NSPR20
#include "prhash.h"
#else
#include "plhash.h"
#endif
extern void LO_SetStyleObjectRefs(MWContext *context, void *tags, void *classes, void *ids);

View File

@ -16,11 +16,7 @@
* Reserved.
*/
#ifndef NSPR20
#include "prhash.h"
#else
#include "plhash.h"
#endif
#ifndef SML_HEADER
#define SML_HEADER