summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-14 11:57:51 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:53:11 +0100
commitb21d8587d6f2e56db4e5c64099cb03cbde2f8906 (patch)
tree5ad7583d42cd1e51dfd645e752867658d83fd898 /config_h.SH
parentd1f9b933c88f298c6c0c5ed1dc3f9d46df8c05db (diff)
downloadperl-b21d8587d6f2e56db4e5c64099cb03cbde2f8906.tar.gz
Rely on C89 strerror()
This requires a corresponding change to the metaconfig units.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH12
1 files changed, 0 insertions, 12 deletions
diff --git a/config_h.SH b/config_h.SH
index b1b9c8c6c9..a774644c3c 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -2012,24 +2012,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$d_statblks USE_STAT_BLOCKS /**/
#endif
-/* HAS_STRERROR:
- * This symbol, if defined, indicates that the strerror routine is
- * available to translate error numbers to strings. See the writeup
- * of Strerror() in this file before you try to define your own.
- */
/* HAS_SYS_ERRLIST:
* This symbol, if defined, indicates that the sys_errlist array is
* available to translate error numbers to strings. The extern int
* sys_nerr gives the size of that table.
*/
-/* Strerror:
- * This preprocessor symbol is defined as a macro if strerror() is
- * not available to translate error numbers to strings but sys_errlist[]
- * array is there.
- */
-#$d_strerror HAS_STRERROR /**/
#$d_syserrlst HAS_SYS_ERRLIST /**/
-#define Strerror(e) $d_strerrm
/* HAS_STRTOUL:
* This symbol, if defined, indicates that the strtoul routine is