Mercurial > projects > ldc
comparison dmd2/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 | 356e65836fb5 |
children |
comparison
equal
deleted
inserted
replaced
1415:bac3931b3de3 | 1416:17268b0a3ab0 |
---|---|
1611 | 1611 |
1612 //////////////////////////////////////////////////////////////// | 1612 //////////////////////////////////////////////////////////////// |
1613 // The compiler shipped with Visual Studio 2005 (and possible | 1613 // The compiler shipped with Visual Studio 2005 (and possible |
1614 // other versions) does not support C99 printf format specfiers | 1614 // other versions) does not support C99 printf format specfiers |
1615 // such as %z and %j | 1615 // such as %z and %j |
1616 #if _MSC_VER | 1616 #if _MSC_VER || __MINGW32__ |
1617 using std::string; | 1617 using std::string; |
1618 using std::wstring; | 1618 using std::wstring; |
1619 | 1619 |
1620 template<typename S> | 1620 template<typename S> |
1621 inline void | 1621 inline void |