diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-12 14:00:03 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:51:36 +0100 |
commit | 1eb06a387814d96975ac806b89805b1e28e8080d (patch) | |
tree | f4b8fab42d7009f9196a7cd4233b9ec42158262e /config_h.SH | |
parent | 1c1d7d5ba0bc33e7bea0a9aeb2d420fc5a8128ab (diff) | |
download | perl-1eb06a387814d96975ac806b89805b1e28e8080d.tar.gz |
Assume we have C89 memcpy() and memmove()
We can therefore also avoid probing for and/or using BSD bcopy().
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/config_h.SH b/config_h.SH index 64392eb71b..26d4f33398 100755 --- a/config_h.SH +++ b/config_h.SH @@ -69,12 +69,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_bcmp HAS_BCMP /**/ -/* HAS_BCOPY: - * This symbol is defined if the bcopy() routine is available to - * copy blocks of memory. - */ -#$d_bcopy HAS_BCOPY /**/ - /* HAS_CBRT: * This symbol, if defined, indicates that the cbrt() (cube root) * function is available. @@ -297,20 +291,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_memcmp HAS_MEMCMP /**/ -/* HAS_MEMCPY: - * This symbol, if defined, indicates that the memcpy routine is available - * to copy blocks of memory. - */ -#$d_memcpy HAS_MEMCPY /**/ - -/* HAS_MEMMOVE: - * This symbol, if defined, indicates that the memmove routine is available - * to copy potentially overlapping blocks of memory. This should be used - * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your - * own version. - */ -#$d_memmove HAS_MEMMOVE /**/ - /* 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 @@ -1111,14 +1091,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_open3 HAS_OPEN3 /**/ -/* HAS_SAFE_BCOPY: - * This symbol, if defined, indicates that the bcopy routine is available - * to copy potentially overlapping memory blocks. Normally, you should - * probably use memmove() or memcpy(). If neither is defined, roll your - * own version. - */ -#$d_safebcpy HAS_SAFE_BCOPY /**/ - /* 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 |