comparison 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
comparison
equal deleted inserted replaced
1415:bac3931b3de3 1416:17268b0a3ab0
1666 1666
1667 //////////////////////////////////////////////////////////////// 1667 ////////////////////////////////////////////////////////////////
1668 // The compiler shipped with Visual Studio 2005 (and possible 1668 // The compiler shipped with Visual Studio 2005 (and possible
1669 // other versions) does not support C99 printf format specfiers 1669 // other versions) does not support C99 printf format specfiers
1670 // such as %z and %j 1670 // such as %z and %j
1671 #if _MSC_VER 1671 #if _MSC_VER || __MINGW32__
1672 using std::string; 1672 using std::string;
1673 using std::wstring; 1673 using std::wstring;
1674 1674
1675 template<typename S> 1675 template<typename S>
1676 inline void 1676 inline void