e_os.h (79998) | e_os.h (89837) |
---|---|
1/* e_os.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 399 unchanged lines hidden (view full) --- 408#endif 409 410#if defined(__ultrix) 411# ifndef ssize_t 412# define ssize_t int 413# endif 414#endif 415 | 1/* e_os.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 399 unchanged lines hidden (view full) --- 408#endif 409 410#if defined(__ultrix) 411# ifndef ssize_t 412# define ssize_t int 413# endif 414#endif 415 |
416#if defined(THREADS) || defined(sun) 417#ifndef _REENTRANT 418#define _REENTRANT 419#endif 420#endif 421 | |
422#if defined(sun) && !defined(__svr4__) && !defined(__SVR4) | 416#if defined(sun) && !defined(__svr4__) && !defined(__SVR4) |
417 /* include headers first, so our defines don't break it */ 418#include <stdlib.h> 419#include <string.h> |
|
423 /* bcopy can handle overlapping moves according to SunOS 4.1.4 manpage */ 424# define memmove(s1,s2,n) bcopy((s2),(s1),(n)) 425# define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b))) 426extern char *sys_errlist[]; extern int sys_nerr; 427# define strerror(errnum) \ 428 (((errnum)<0 || (errnum)>=sys_nerr) ? NULL : sys_errlist[errnum]) 429#endif 430 --- 42 unchanged lines hidden --- | 420 /* bcopy can handle overlapping moves according to SunOS 4.1.4 manpage */ 421# define memmove(s1,s2,n) bcopy((s2),(s1),(n)) 422# define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b))) 423extern char *sys_errlist[]; extern int sys_nerr; 424# define strerror(errnum) \ 425 (((errnum)<0 || (errnum)>=sys_nerr) ? NULL : sys_errlist[errnum]) 426#endif 427 --- 42 unchanged lines hidden --- |