-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
malloc.m4 says:
dnl It is too dangerous to try to allocate a large amount of memory:
dnl some systems go to their knees when you do that. So assume that
dnl all Unix implementations of the function are POSIX compliant.
mingw should be treated just like cygwin.
2007-11-15 Sam Steingold <[EMAIL PROTECTED]>
* m4/malloc.m4: mingw malloc is known to be posix-compliant
patch is attached.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHPMfMPp1Qsf2qnMcRAi4cAKCSp8vi4p6b1XrTfO25nkxQotDC9QCgsMn4
ytetlofvaqx8irTvM4Xyy80=
=xzsK
-----END PGP SIGNATURE-----
Index: m4/malloc.m4
===================================================================
RCS file: /srv/git/gnulib.git/HEAD/m4/malloc.m4,v
retrieving revision 1.16
diff -w -p -u m4/malloc.m4
--- m4/malloc.m4 revision 1.16
+++ m4/malloc.m4 working copy
@@ -33,7 +33,7 @@
dnl some systems go to their knees when you do that. So assume that
dnl all Unix implementations of the function are POSIX compliant.
AC_TRY_COMPILE([],
- [#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+ [#if (defined _WIN32 || defined __WIN32__) && ! (defined __CYGWIN__ ||
defined __MINGW32__)
choke me
#endif
], [gl_cv_func_malloc_posix=yes], [gl_cv_func_malloc_posix=no])