diff options
author | Rob Browning <rlb@defaultvalue.org> | 2003-03-03 18:31:22 +0000 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2003-03-03 18:31:22 +0000 |
commit | 710ee5a968b14db059538f74d062302b18619f79 (patch) | |
tree | 19520294006e54117a4aacc9634830487a715c46 /src | |
parent | b0e442481b4718f1f372381e6be78ce7aaf7b522 (diff) | |
download | emacs-710ee5a968b14db059538f74d062302b18619f79.tar.gz |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/config.in | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/config.in b/src/config.in index c86215d823f..628458ce91b 100644 --- a/src/config.in +++ b/src/config.in @@ -343,6 +343,9 @@ Boston, MA 02111-1307, USA. */ /* Define to 1 if you have the `mbsinit' function. */ #undef HAVE_MBSINIT +/* Define to 1 if you have the `memcmp' function. */ +#undef HAVE_MEMCMP + /* Define to 1 if you have the `memmove' function. */ #undef HAVE_MEMMOVE @@ -1010,14 +1013,16 @@ typedef unsigned size_t; # endif #endif -#ifndef HAVE_BCOPY -#define bcopy(a,b,s) memcpy (b,a,s) +/* avoid deprecated functions */ +#if HAVE_MEMCPY +# define bcopy(a,b,s) memcpy (b,a,s) #endif -#ifndef HAVE_BZERO -#define bzero(a,s) memset (a,0,s) +#if HAVE_MEMSET +# define bzero(a,s) memset (a,0,s) #endif -#ifndef HAVE_BCMP -#define BCMP memcmp +#if HAVE_MEMCMP +# define BCMP memcmp +# define bcmp memcmp #endif #endif /* EMACS_CONFIG_H */ |