From 0e334b67e8245e4f087dd89fbede574e061f1be9 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 23 Jun 2001 16:02:05 +0000 Subject: [PATCH] * mem.h: Undefine bcopy(), bcmp() and bzero() before redefining them. --- src/ChangeLog | 5 +++++ src/mem.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 978159f02..d7802165e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-06-23 Pavel Roskin + + * mem.h: Undefine bcopy(), bcmp() and bzero() before redefining + them. + 2001-06-22 Pavel Roskin * ext.c (exec_extension) [HAVE_X]: Disable console handling. diff --git a/src/mem.h b/src/mem.h index e8d0f620f..763748757 100644 --- a/src/mem.h +++ b/src/mem.h @@ -16,8 +16,13 @@ # define rindex strrchr # endif +# undef bcopy # define bcopy(s,d,n) memcpy ((d), (s), (n)) + +# undef bcmp # define bcmp(s1,s2,n) memcmp ((s1), (s2), (n)) + +# undef bzero # define bzero(s,n) memset ((s), 0, (n)) #else /* not STDC_HEADERS and not HAVE_STRING_H */