From 37ecd725e58c41820e01f15c1ef4fb2c07014aa9 Mon Sep 17 00:00:00 2001 From: Timo Schulz Date: Wed, 3 Nov 2004 20:03:46 +0000 Subject: 2004-11-03 Timo Schulz * strgutil.c (w32_strerror): New. * ttyio.c (init_ttyfp, tty_printf, do_get): Use it here. * iobuf.c (fd_cache_open, file_filter): Likewise. (iobuf_seek, translate_file_handle): Likewise. --- include/errors.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/errors.h') diff --git a/include/errors.h b/include/errors.h index 38664e10c..c014c91a0 100644 --- a/include/errors.h +++ b/include/errors.h @@ -79,7 +79,11 @@ #define G10ERR_NO_CARD 57 #ifndef HAVE_STRERROR -char *strerror( int n ); +char *strerror (int n); +#endif + +#ifdef _WIN32 +const char * w32_strerror (int w32_errno); #endif #endif /*G10_ERRORS_H*/ -- cgit v1.2.3