diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/strftime.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/time/strftime.c b/time/strftime.c index 8c50a7dffb..7dbddeabf6 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -80,7 +80,9 @@ extern char *tzname[]; # include <stdlib.h> # include <string.h> #else -# define memcpy(d, s, n) bcopy ((s), (d), (n)) +# ifndef HAVE_MEMCPY +# define memcpy(d, s, n) bcopy ((s), (d), (n)) +# endif #endif #ifndef __P |