Use <malloc.h> also with Digital Mars compiler on Win32. (#346808, Serhat

2007-01-17  Tor Lillqvist  <tml@novell.com>

	* glib/galloca.h: Use <malloc.h> also with Digital Mars compiler
	on Win32. (#346808, Serhat Sevki Dincer)


svn path=/trunk/; revision=5285
This commit is contained in:
Tor Lillqvist 2007-01-17 02:28:13 +00:00 committed by Tor Lillqvist
parent 4bbde50716
commit 21157c4d88
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-01-17 Tor Lillqvist <tml@novell.com>
* glib/galloca.h: Use <malloc.h> also with Digital Mars compiler
on Win32. (#346808, Serhat Sevki Dincer)
2007-01-16 Matthias Clasen <mclasen@redhat.com>
* glib/gthread.h:

View File

@ -37,7 +37,7 @@
/* a native and working alloca.h is there */
# include <alloca.h>
#else /* !__GNUC__ && !GLIB_HAVE_ALLOCA_H */
# ifdef _MSC_VER
# if defined(_MSC_VER) || defined(__DMC__)
# include <malloc.h>
# define alloca _alloca
# else /* !_MSC_VER */