Mercurial > projects > ldc
diff dmd/root/root.c @ 1416:17268b0a3ab0
Fix for mingw32 segfault
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Sat, 23 May 2009 14:59:04 -0600 |
parents | a9b60bc559fa |
children | def7a1d494fd |
line wrap: on
line diff
--- a/dmd/root/root.c Sat May 23 20:57:22 2009 +0200 +++ b/dmd/root/root.c Sat May 23 14:59:04 2009 -0600 @@ -1668,7 +1668,7 @@ // The compiler shipped with Visual Studio 2005 (and possible // other versions) does not support C99 printf format specfiers // such as %z and %j -#if _MSC_VER +#if _MSC_VER || __MINGW32__ using std::string; using std::wstring;