diff dmd/array.c @ 285:297690b5d4a5 trunk

[svn r306] Fixed: it's now possible to compile and link llvmdc with MinGW32 and msys on Win32 :D I tried it myself ;) Building the runtime still needs some work, but it's a step in the right direction.
author lindquist
date Sat, 21 Jun 2008 03:14:49 +0200
parents c53b6e3fe49a
children aa953cc960b6
line wrap: on
line diff
--- a/dmd/array.c	Sat Jun 21 02:48:53 2008 +0200
+++ b/dmd/array.c	Sat Jun 21 03:14:49 2008 +0200
@@ -13,7 +13,7 @@
 #include <string.h>
 #include <assert.h>
 
-#if _MSC_VER
+#if _MSC_VER || __MINGW32__
 #include <malloc.h>
 #endif