summaryrefslogtreecommitdiff
path: root/libgfortran/config.h.in
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2012-05-23 10:34:06 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2012-05-23 10:34:06 +0200
commit4179e59afafbe4c5eb00b0a82da11db7cc5a1a8c (patch)
treed08f712df5fe7cd79a42d70f17fd6a12386816f3 /libgfortran/config.h.in
parentf883872b10c06e67e59d3e0f192b804dc5ec3121 (diff)
downloadgcc-4179e59afafbe4c5eb00b0a82da11db7cc5a1a8c.tar.gz
re PR libfortran/53444 (Accommodate non-compliant strerror_r() on VxWorks.)
2012-05-23 Tobias Burnus <burnus@net-b.de> PR libfortran/53444 * acinclude.m4 (LIBGFOR_CHECK_STRERROR_R): Add configure checks * for two- and three-argument versions of strerror_r. * configure.ac (LIBGFOR_CHECK_STRERROR_R): Use it. * runtime/error.c (gf_strerror): Handle two-argument version of strerror_r. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r187796
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r--libgfortran/config.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in
index b75fa968023..43ba0259862 100644
--- a/libgfortran/config.h.in
+++ b/libgfortran/config.h.in
@@ -696,9 +696,12 @@
/* Define to 1 if you have the `strcasestr' function. */
#undef HAVE_STRCASESTR
-/* Define to 1 if you have the `strerror_r' function. */
+/* Define if strerror_r is available in <string.h>. */
#undef HAVE_STRERROR_R
+/* Define if strerror_r takes two arguments and is available in <string.h>. */
+#undef HAVE_STRERROR_R_2ARGS
+
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H