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 /uconfig.h | |
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 'uconfig.h')
-rw-r--r-- | uconfig.h | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -486,18 +486,6 @@ */ #define 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. - */ -/*#define HAS_STRCHR / **/ -/*#define HAS_INDEX / **/ - /* HAS_STRCOLL: * This symbol, if defined, indicates that the strcoll routine is * available to compare strings using collating information. @@ -5261,6 +5249,6 @@ #endif /* Generated from: - * a54380e85f5a0f9c6f5793c309854712008ac68f6370e6376c6a90edbecb6a7b config_h.SH + * 798105cde7e4037b267cd74a3ebf1895b212f333b5300ebdc1414825b2a210e1 config_h.SH * d40282b246b20f1f20a5febcae42b3ac44234c5a1c1a2df89e5ac77a54830cca uconfig.sh * ex: set ro: */ |