diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-12 14:31:56 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:51:41 +0100 |
commit | e5d7f4e5fdc8fcb324745c39345b369ab04cadb1 (patch) | |
tree | 9aeeb835318cb50fb6138be90b6ce8e375dd3c9c /config_h.SH | |
parent | 6abb197755380da4c7221427281d6933762516a3 (diff) | |
download | perl-e5d7f4e5fdc8fcb324745c39345b369ab04cadb1.tar.gz |
Assume we have sane C89 memcmp()
"Sane" means that it works correctly on bytes with their high bit set, as
C89 also requires.
We therefore no longer need to probe for and/or use BSD bcmp().
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/config_h.SH b/config_h.SH index 26d4f33398..88770e7707 100755 --- a/config_h.SH +++ b/config_h.SH @@ -63,12 +63,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_alarm HAS_ALARM /**/ -/* HAS_BCMP: - * This symbol is defined if the bcmp() routine is available to - * compare blocks of memory. - */ -#$d_bcmp HAS_BCMP /**/ - /* HAS_CBRT: * This symbol, if defined, indicates that the cbrt() (cube root) * function is available. @@ -285,12 +279,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_mbtowc HAS_MBTOWC /**/ -/* HAS_MEMCMP: - * This symbol, if defined, indicates that the memcmp routine is available - * to compare blocks of memory. - */ -#$d_memcmp HAS_MEMCMP /**/ - /* HAS_MKDIR: * This symbol, if defined, indicates that the mkdir routine is available * to create directories. Otherwise you should fork off a new process to @@ -1091,13 +1079,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_open3 HAS_OPEN3 /**/ -/* HAS_SANE_MEMCMP: - * This symbol, if defined, indicates that the memcmp routine is available - * and can be used to compare relative magnitudes of chars with their high - * bits set. If it is not defined, roll your own version. - */ -#$d_sanemcmp HAS_SANE_MEMCMP /**/ - /* HAS_SIGACTION: * This symbol, if defined, indicates that Vr4's sigaction() routine * is available. |