From 21157c4d88f0744127d5a927586f72d01af8acc4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 17 Jan 2007 02:28:13 +0000 Subject: [PATCH] Use also with Digital Mars compiler on Win32. (#346808, Serhat 2007-01-17 Tor Lillqvist * glib/galloca.h: Use also with Digital Mars compiler on Win32. (#346808, Serhat Sevki Dincer) svn path=/trunk/; revision=5285 --- ChangeLog | 5 +++++ glib/galloca.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index baab6605..0f8ee590 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-17 Tor Lillqvist + + * glib/galloca.h: Use also with Digital Mars compiler + on Win32. (#346808, Serhat Sevki Dincer) + 2007-01-16 Matthias Clasen * glib/gthread.h: diff --git a/glib/galloca.h b/glib/galloca.h index 110beb53..7c59ea45 100644 --- a/glib/galloca.h +++ b/glib/galloca.h @@ -37,7 +37,7 @@ /* a native and working alloca.h is there */ # include #else /* !__GNUC__ && !GLIB_HAVE_ALLOCA_H */ -# ifdef _MSC_VER +# if defined(_MSC_VER) || defined(__DMC__) # include # define alloca _alloca # else /* !_MSC_VER */ -- 2.34.1