mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,
ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native Windows compilers. Requested by Brian Gladman. From Werner on stable branch. * http.c (connect_server): Oops - forgot to freeaddrinfo().
This commit is contained in:
parent
2d682ddc00
commit
cd06705184
10 changed files with 48 additions and 35 deletions
|
@ -860,7 +860,7 @@ strncasecmp( const char *a, const char *b, size_t n )
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#ifdef _WIN32
|
||||
/*
|
||||
* Like vsprintf but provides a pointer to malloc'd storage, which
|
||||
* must be freed by the caller (m_free). Taken from libiberty as
|
||||
|
@ -954,5 +954,4 @@ vasprintf ( char **result, const char *format, va_list args)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#endif /*__MINGW32__*/
|
||||
|
||||
#endif /*_WIN32*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue