diff options
author | Bodo Möller <bodo@openssl.org> | 2000-06-08 22:47:09 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-06-08 22:47:09 +0000 |
commit | 6da6a113310ed0e2002a34d2c2630e23e3c506fe (patch) | |
tree | 01bdb226ea7315e92f371e64dbf6ef290c952e8c /e_os.h | |
parent | 3dd985ee2ab05b4eda53b67395d85269acad74bd (diff) | |
download | openssl-6da6a113310ed0e2002a34d2c2630e23e3c506fe.tar.gz |
Another attempt to allow compiling on SunOS 4.*.
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -404,7 +404,11 @@ extern HINSTANCE _hInstance; #endif #if defined(sun) && !defined(__svr4__) && !defined(__SVR4) -#define memmove(s1,s2,n) bcopy((s2),(s1),(n)) +# define memmove(s1,s2,n) bcopy((s2),(s1),(n)) +# define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b))) +extern char *sys_errlist[]; extern int sys_nerr; +# define strerror(errnum) \ + (((errnum)<0 || (errnum)>=sys_nerr) ? NULL : sys_errlist[errnum]) #endif /***********************************************/ |