From: Bruno Haible Date: Mon, 23 Jun 2003 10:32:58 +0000 (+0000) Subject: Portability to mingw32. X-Git-Tag: v0.13~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ec14440cf37e2808b26579525714ee5153f596;p=thirdparty%2Fgettext.git Portability to mingw32. --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index d5e62f8d7..fba628669 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,9 @@ +2003-06-22 Bruno Haible + + Portability to mingw32. + * relocatable.c [WIN32]: Include . + Reported by Jeff Bonggren . + 2003-06-22 Bruno Haible * relocatable.c (compute_curr_prefix): Comment out this function in diff --git a/gettext-runtime/intl/relocatable.c b/gettext-runtime/intl/relocatable.c index 7846e5f4f..63d205cb9 100644 --- a/gettext-runtime/intl/relocatable.c +++ b/gettext-runtime/intl/relocatable.c @@ -45,6 +45,11 @@ # include "xmalloc.h" #endif +#if defined _WIN32 || defined __WIN32__ +# define WIN32_LEAN_AND_MEAN +# include +#endif + #if DEPENDS_ON_LIBCHARSET # include #endif diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 007fc2cf0..38982c498 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,9 @@ +2003-06-22 Bruno Haible + + Portability to mingw32. + * relocatable.c [WIN32]: Include . + Reported by Jeff Bonggren . + 2003-06-22 Bruno Haible * relocatable.c (compute_curr_prefix): Comment out this function in diff --git a/gettext-tools/lib/relocatable.c b/gettext-tools/lib/relocatable.c index 7846e5f4f..63d205cb9 100644 --- a/gettext-tools/lib/relocatable.c +++ b/gettext-tools/lib/relocatable.c @@ -45,6 +45,11 @@ # include "xmalloc.h" #endif +#if defined _WIN32 || defined __WIN32__ +# define WIN32_LEAN_AND_MEAN +# include +#endif + #if DEPENDS_ON_LIBCHARSET # include #endif