of type char*, not int. Suggestion from Paul Eggert.
# endif
],
[
- int buf; /* avoiding square brackets makes this easier */
- char x = *strerror_r (0, buf, sizeof buf);
+ char buf;
+ char x = *strerror_r (0, &buf, sizeof buf);
],
ac_cv_func_strerror_r_works=yes,
ac_cv_func_strerror_r_works=no
# endif
],
[
- int buf; /* avoiding square brackets makes this easier */
- char x = *strerror_r (0, buf, sizeof buf);
+ char buf;
+ char x = *strerror_r (0, &buf, sizeof buf);
],
ac_cv_func_strerror_r_works=yes,
ac_cv_func_strerror_r_works=no