From db0c1c678db4bae1cd27060fd45e855f3dd1cc4e Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 26 Aug 2003 20:21:19 +0000 Subject: [PATCH] * getdate.y (bcopy): Don't bother with HAVE_BCOPY and HAVE_MEMCPY tests; always define the macro if it's not already defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15795 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/cli/ChangeLog | 5 +++++ src/kadmin/cli/getdate.y | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog index 2c54a5326..bd9373086 100644 --- a/src/kadmin/cli/ChangeLog +++ b/src/kadmin/cli/ChangeLog @@ -1,3 +1,8 @@ +2003-08-26 Ken Raeburn + + * getdate.y (bcopy): Don't bother with HAVE_BCOPY and HAVE_MEMCPY + tests; always define the macro if it's not already defined. + 2003-06-24 Ken Raeburn * kadmin.c (strdate): Increase size of buffer to 40. Use sizeof diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y index 9c4ef654a..afb29b91b 100644 --- a/src/kadmin/cli/getdate.y +++ b/src/kadmin/cli/getdate.y @@ -108,7 +108,7 @@ struct my_timeb { /* Some old versions of bison generate parsers that use bcopy. That loses on systems that don't provide the function, so we have to redefine it here. */ -#if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy) +#ifndef bcopy #define bcopy(from, to, len) memcpy ((to), (from), (len)) #endif -- 2.26.2