aboutsummaryrefslogtreecommitdiffstats
path: root/util/regcomp.c
diff options
context:
space:
mode:
authorTimo Schulz <[email protected]>2003-09-21 17:36:51 +0000
committerTimo Schulz <[email protected]>2003-09-21 17:36:51 +0000
commit046493fce9825d3698f6750a8e9b94777d1f265e (patch)
tree91234cbef0cabaf1b59a3bef365909d29855e79e /util/regcomp.c
parent* g10.c (main): Trim --help to commonly used options. Remove -f. (diff)
downloadgnupg-046493fce9825d3698f6750a8e9b94777d1f265e.tar.gz
gnupg-046493fce9825d3698f6750a8e9b94777d1f265e.zip
2003-09-21 Timo Schulz <[email protected]>
* http.c [WIN32]: Define MB_CUR_MAX. (connect_server): use unsigned long since W32 does not have in_addr_t.
Diffstat (limited to 'util/regcomp.c')
-rw-r--r--util/regcomp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/regcomp.c b/util/regcomp.c
index 13cce2573..c517b71cc 100644
--- a/util/regcomp.c
+++ b/util/regcomp.c
@@ -26,6 +26,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef _WIN32
+#define MB_CUR_MAX 2
+#endif
+
#if defined HAVE_WCHAR_H || defined _LIBC
# include <wchar.h>
#endif /* HAVE_WCHAR_H || _LIBC */