]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability to mingw32.
authorBruno Haible <bruno@clisp.org>
Mon, 23 Jun 2003 10:32:58 +0000 (10:32 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:44 +0000 (12:10 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/relocatable.c
gettext-tools/lib/ChangeLog
gettext-tools/lib/relocatable.c

index d5e62f8d7bd7fd9ca91a447cbce4883d83298f25..fba6286699706b200da64f5048d9900dc107f9bc 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+       Portability to mingw32.
+       * relocatable.c [WIN32]: Include <windows.h>.
+       Reported by Jeff Bonggren <jbon@cfl.rr.com>.
+
 2003-06-22  Bruno Haible  <bruno@clisp.org>
 
        * relocatable.c (compute_curr_prefix): Comment out this function in
index 7846e5f4f8754060791ef414383d2ab2e1478faa..63d205cb9e6f4810531609d922b965e6bdf67ac5 100644 (file)
 # include "xmalloc.h"
 #endif
 
+#if defined _WIN32 || defined __WIN32__
+# define WIN32_LEAN_AND_MEAN
+# include <windows.h>
+#endif
+
 #if DEPENDS_ON_LIBCHARSET
 # include <libcharset.h>
 #endif
index 007fc2cf0612a743adb186fcedc6f09d414b0a08..38982c4988868b4f83a8dd5779d0b5d3437c4cec 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+       Portability to mingw32.
+       * relocatable.c [WIN32]: Include <windows.h>.
+       Reported by Jeff Bonggren <jbon@cfl.rr.com>.
+
 2003-06-22  Bruno Haible  <bruno@clisp.org>
 
        * relocatable.c (compute_curr_prefix): Comment out this function in
index 7846e5f4f8754060791ef414383d2ab2e1478faa..63d205cb9e6f4810531609d922b965e6bdf67ac5 100644 (file)
 # include "xmalloc.h"
 #endif
 
+#if defined _WIN32 || defined __WIN32__
+# define WIN32_LEAN_AND_MEAN
+# include <windows.h>
+#endif
+
 #if DEPENDS_ON_LIBCHARSET
 # include <libcharset.h>
 #endif