aboutsummaryrefslogtreecommitdiffstats
path: root/util/strgutil.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-08-28 23:29:32 +0000
committerDavid Shaw <[email protected]>2003-08-28 23:29:32 +0000
commitcd067051840c14fe83654784f34576c79a298490 (patch)
tree5b45636c2750b6c199d28d40413c45ddb8a8a2bc /util/strgutil.c
parent* options.h, g10.c (main): Add list-option list-preferred-keyserver. (diff)
downloadgnupg-cd067051840c14fe83654784f34576c79a298490.tar.gz
gnupg-cd067051840c14fe83654784f34576c79a298490.zip
* 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().
Diffstat (limited to '')
-rw-r--r--util/strgutil.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/strgutil.c b/util/strgutil.c
index 05524d84d..2db4182a5 100644
--- a/util/strgutil.c
+++ b/util/strgutil.c
@@ -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*/