From 801ab885224b7d85aa11cb9f239f33cb420d3159 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 13 Dec 2004 15:49:56 +0000 Subject: VArious hacks to make it at least build under W32. * stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c : Fixed typo. --- jnlib/stringhelp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'jnlib/stringhelp.h') diff --git a/jnlib/stringhelp.h b/jnlib/stringhelp.h index fe5786e59..412da3a0e 100644 --- a/jnlib/stringhelp.h +++ b/jnlib/stringhelp.h @@ -49,6 +49,11 @@ size_t print_sanitized_utf8_string (FILE *fp, const char *string, int delim); char *sanitize_buffer (const unsigned char *p, size_t n, int delim); +#ifdef HAVE_W32_SYSTEM +const char *w32_strerror (int ec); +#endif + + const char *ascii_memistr( const char *buf, size_t buflen, const char *sub ); int ascii_isupper (int c); int ascii_islower (int c); -- cgit v1.2.3