Revert changes of 2003-03-03 and 2003-05-28.

This commit is contained in:
Juanma Barranquero 2003-06-02 19:26:18 +00:00
parent 5b07197ad9
commit efd60266f5
2 changed files with 15 additions and 16 deletions

View file

@ -1,3 +1,7 @@
2003-06-02 Richard M. Stallman <rms@gnu.org>
* configure.in: Revert changes of 2003-03-03 and 2003-05-24.
2003-05-24 Andreas Schwab <schwab@suse.de>
* configure.in (AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy,
@ -52,8 +56,8 @@
2003-03-03 Rob Browning <rlb@defaultvalue.org>
* configure.in: add AC_CHECK_FUNCS for memcmp and memmove.
(AH_BOTTOM): switch tests to prefer memcmp, memset, and memmove
* configure.in: Add AC_CHECK_FUNCS for memcmp and memmove.
(AH_BOTTOM): Switch tests to prefer memcmp, memset, and memmove
over bzero, bcmp, and bcopy.
2003-02-23 Simon Josefsson <jas@extundo.com>

View file

@ -2854,20 +2854,15 @@ typedef unsigned size_t;
# endif
#endif
/* On Mac OS X, these macros are already defined in precompiled headers. */
#ifndef MAC_OSX
/* avoid deprecated functions */
# ifdef HAVE_MEMCPY
# define bcopy(a,b,s) memcpy (b,a,s)
# endif
# ifdef HAVE_MEMSET
# define bzero(a,s) memset (a,0,s)
# endif
# ifdef HAVE_MEMCMP
# define BCMP memcmp
# define bcmp memcmp
# endif
#endif /* MAC_OSX */
#ifndef HAVE_BCOPY
#define bcopy(a,b,s) memcpy (b,a,s)
#endif
#ifndef HAVE_BZERO
#define bzero(a,s) memset (a,0,s)
#endif
#ifndef HAVE_BCMP
#define BCMP memcmp
#endif
#endif /* EMACS_CONFIG_H */