diff dmd/module.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 ccd07d9f2ce9
children aaade6ded589
line wrap: on
line diff
--- a/dmd/module.c	Sat Jun 21 02:48:53 2008 +0200
+++ b/dmd/module.c	Sat Jun 21 03:14:49 2008 +0200
@@ -12,7 +12,7 @@
 #include <stdlib.h>
 #include <assert.h>
 
-#ifdef _MSC_VER
+#if _MSC_VER || __MINGW32__
 #include <malloc.h>
 #endif