Mercurial > emacs
changeset 51184:ce4fe46f9b13
(AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy,
bzero, and bcmp.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sat, 24 May 2003 19:28:34 +0000 |
parents | c9db5a2dc58b |
children | 79ec3bcd1a81 |
files | configure.in |
diffstat | 1 files changed, 13 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Sat May 24 16:22:20 2003 +0000 +++ b/configure.in Sat May 24 19:28:34 2003 +0000 @@ -2854,17 +2854,20 @@ # 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 +# 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 */ #endif /* EMACS_CONFIG_H */