summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kadmin/cli/ChangeLog5
-rw-r--r--src/kadmin/cli/getdate.y2
2 files changed, 6 insertions, 1 deletions
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 <raeburn@mit.edu>
+
+ * 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 <raeburn@mit.edu>
* 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