summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-06-09 16:43:49 +0000
committerBodo Möller <bodo@openssl.org>2000-06-09 16:43:49 +0000
commitb908bd4e15336e705fff12f1a0fbf4a4c55e5d00 (patch)
tree0cd2baf4874588772d0854c23b0e3ff711b6c3c9 /e_os.h
parentef33b97050f8157234abe6d5f2da3da1cdda6d68 (diff)
Comment about bcopy on SunOS 4.x.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/e_os.h b/e_os.h
index f540d7752e..487f0b2fb3 100644
--- a/e_os.h
+++ b/e_os.h
@@ -404,10 +404,11 @@ extern HINSTANCE _hInstance;
#endif
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
+ /* bcopy can handle overlapping moves according to SunOS 4.1.4 manpage */
# 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) \
+# define strerror(errnum) \
(((errnum)<0 || (errnum)>=sys_nerr) ? NULL : sys_errlist[errnum])
#endif