aboutsummaryrefslogtreecommitdiffstats
path: root/include/errors.h
diff options
context:
space:
mode:
authorTimo Schulz <[email protected]>2004-11-03 20:03:46 +0000
committerTimo Schulz <[email protected]>2004-11-03 20:03:46 +0000
commit37ecd725e58c41820e01f15c1ef4fb2c07014aa9 (patch)
treed5b9174d9498fdb12e27b85d28bc31456fc56354 /include/errors.h
parent* strgutil.c (load_libiconv): Use log_info to avoid failures when (diff)
downloadgnupg-37ecd725e58c41820e01f15c1ef4fb2c07014aa9.tar.gz
gnupg-37ecd725e58c41820e01f15c1ef4fb2c07014aa9.zip
2004-11-03 Timo Schulz <[email protected]>
* 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.
Diffstat (limited to '')
-rw-r--r--include/errors.h6
1 files changed, 5 insertions, 1 deletions
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*/