diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-10-08 01:03:43 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-10-08 01:03:43 +0200 |
commit | 2099fa7192048e966ef9ee8ad97d6ce2b115ff5c (patch) | |
tree | beb9114e376a0b477a50a4c39e88cf6a1c5b8441 /tune/time.c | |
parent | 84ca4490387b8fdc7a6561bf5d5d9243ca5884b5 (diff) | |
download | gmp-2099fa7192048e966ef9ee8ad97d6ce2b115ff5c.tar.gz |
* configure.in (AC_CHECK_FUNCS): Add strerror.
(AC_CHECK_DECLS): Add sys_errlist, sys_nerr.
* tune/time.c, tests/devel/try.c: Use them.
Diffstat (limited to 'tune/time.c')
-rw-r--r-- | tune/time.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tune/time.c b/tune/time.c index 05a6bbeee..5fbb6a7e9 100644 --- a/tune/time.c +++ b/tune/time.c @@ -173,6 +173,12 @@ MA 02111-1307, USA. */ #include "speed.h" +/* strerror is only used for some stuff on newish systems, no need to have a + proper replacement */ +#if ! HAVE_STRERROR +#define strerror(n) "<strerror not available>" +#endif + char speed_time_string[256]; int speed_precision = 0; |