diff dmd/inifile.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 3cfcb944304e
children f79bbd1d0b27
line wrap: on
line diff
--- a/dmd/inifile.c	Sat Jun 21 02:48:53 2008 +0200
+++ b/dmd/inifile.c	Sat Jun 21 03:14:49 2008 +0200
@@ -13,6 +13,10 @@
 #include	"root.h"
 #include	"mem.h"
 
+#ifdef __MINGW32__
+#include <malloc.h>
+#endif
+
 #define LOG	0
 
 char *skipspace(const char *p);