diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-13 10:35:44 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:52:47 +0100 |
commit | 1509effa50d0917578f8ab4dd412918cb11d6fcb (patch) | |
tree | f9a4f75eb01b57778a6be857c993c96e900c36f1 /config_h.SH | |
parent | f1519f70705b2eee563b9ac4056d4eb39d383ea1 (diff) | |
download | perl-1509effa50d0917578f8ab4dd412918cb11d6fcb.tar.gz |
Rely on C89 strchr() and strrchr()
This needs a metaconfig change that defangs the standard unit for finding
strchr(), because that unit sees the uses of "index" and "rindex" (in files
like keywords.c and opcode.h) as indicators that it must be used instead.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/config_h.SH b/config_h.SH index bbd4261133..35b656fc89 100755 --- a/config_h.SH +++ b/config_h.SH @@ -521,18 +521,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_stat HAS_STAT /**/ -/* HAS_STRCHR: - * This symbol is defined to indicate that the strchr()/strrchr() - * functions are available for string searching. If not, try the - * index()/rindex() pair. - */ -/* HAS_INDEX: - * This symbol is defined to indicate that the index()/rindex() - * functions are available for string searching. - */ -#$d_strchr HAS_STRCHR /**/ -#$d_index HAS_INDEX /**/ - /* HAS_STRCOLL: * This symbol, if defined, indicates that the strcoll routine is * available to compare strings using collating information. |