mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +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>
|
2003-08-28 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h,
|
* 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;
|
struct srventry *srvlist=NULL;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
in_addr_t inaddr;
|
unsigned long inaddr;
|
||||||
#warning check the windoze type
|
|
||||||
|
|
||||||
init_sockets();
|
init_sockets();
|
||||||
/* Win32 gethostbyname doesn't handle IP addresses internally, so we
|
/* Win32 gethostbyname doesn't handle IP addresses internally, so we
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define MB_CUR_MAX 2
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined HAVE_WCHAR_H || defined _LIBC
|
#if defined HAVE_WCHAR_H || defined _LIBC
|
||||||
# include <wchar.h>
|
# include <wchar.h>
|
||||||
#endif /* HAVE_WCHAR_H || _LIBC */
|
#endif /* HAVE_WCHAR_H || _LIBC */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user