This commit is contained in:
cyeh%netscape.com 1998-09-29 21:29:23 +00:00
Родитель d115f8b177
Коммит 007541d4a2
3 изменённых файлов: 0 добавлений и 36 удалений

Просмотреть файл

@ -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 */

Просмотреть файл

@ -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);

Просмотреть файл

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