summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-05-13 13:51:44 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-05-13 13:51:44 +0000
commit0f27ced10277587fa0b28dfb8021d0d6a60aa18b (patch)
tree19729c61860e48ad1bf24757b7187b5978569202 /config_h.SH
parent767df6a1b5239f22c97e50608c6c8ba4a916826d (diff)
downloadperl-0f27ced10277587fa0b28dfb8021d0d6a60aa18b.tar.gz
Add HAS_MEMCHR and make memchr into a cpp macro if it already isn't.
p4raw-id: //depot/cfgperl@3410
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH6
1 files changed, 6 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index 1899e6c584..6059a7caff 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -1700,6 +1700,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
#define LONGLONGSIZE $longlongsize /**/
#endif
+/* HAS_MEMCHR:
+ * This symbol, if defined, indicates that the memchr routine is available
+ * to locate characters within a C string.
+ */
+#$d_memchr HAS_MEMCHR /**/
+
/* HAS_MMAP:
* This symbol, if defined, indicates that the mmap system call is
* available to map a file into memory.