diff --git a/ChangeLog b/ChangeLog index 1b1fa8ed9a..8066a69a54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-11-29 H.J. Lu + + * sysdeps/generic/readelflib.c (check_ptr): Undefine it first. + 2000-11-29 Andreas Jaeger * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused diff --git a/sysdeps/generic/readelflib.c b/sysdeps/generic/readelflib.c index 270c9b00a5..2797c282f5 100644 --- a/sysdeps/generic/readelflib.c +++ b/sysdeps/generic/readelflib.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger , 1999 and Jakub Jelinek , 1999. @@ -25,6 +25,7 @@ /* check_ptr checks that a pointer is in the mmaped file and doesn't point outside it. */ +#undef check_ptr #define check_ptr(ptr) \ do \ { \