Skip to content

Commit

Permalink
Comment about bcopy on SunOS 4.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
45264 committed Jun 9, 2000
1 parent ef33b97 commit b908bd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b908bd4

Please sign in to comment.