mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
2003-09-21 Timo Schulz <twoaday@freakmail.de>
* http.c [WIN32]: Define MB_CUR_MAX. (connect_server): use unsigned long since W32 does not have in_addr_t.
This commit is contained in:
parent
eb18893c8c
commit
046493fce9
@ -1,3 +1,8 @@
|
||||
2003-09-21 Timo Schulz <twoaday@freakmail.de>
|
||||
|
||||
* http.c [WIN32]: Define MB_CUR_MAX.
|
||||
(connect_server): use unsigned long since W32 does not have in_addr_t.
|
||||
|
||||
2003-08-28 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h,
|
||||
|
@ -714,8 +714,7 @@ connect_server( const char *server, ushort port, unsigned int flags )
|
||||
struct srventry *srvlist=NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
in_addr_t inaddr;
|
||||
#warning check the windoze type
|
||||
unsigned long inaddr;
|
||||
|
||||
init_sockets();
|
||||
/* Win32 gethostbyname doesn't handle IP addresses internally, so we
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user