diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-06-08 18:30:42 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-06-08 18:30:42 +0000 |
commit | 9b47f0be31e3ca3c48146893048efefdb22aaf75 (patch) | |
tree | aefb4a2eb5c88bfe90f4d68306ec7638f2c1a7d4 /protos.h | |
parent | 8d759499d955cbe63ba49103cf798dfc9460d247 (diff) |
Portability patches for SunOS 4.1. From Lars Hecking.
Diffstat (limited to 'protos.h')
-rw-r--r-- | protos.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -341,6 +341,10 @@ extern char *sys_errlist[]; #define strerror(x) ((x) > 0 && (x) < sys_nerr) ? sys_errlist[(x)] : 0 #endif /* !HAVE_STRERROR */ +#ifndef HAVE_MEMMOVE +#define memmove(d,s,n) bcopy((s),(d),(n)) +#endif + /* AIX doesn't define these in any headers (sigh) */ int strcasecmp (const char *, const char *); int strncasecmp (const char *, const char *, size_t); |