stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r674023 - /stdcxx/branches/4.2.x/tests/src/printf.cpp
Date Fri, 04 Jul 2008 12:08:52 GMT
Author: faridz
Date: Fri Jul  4 05:08:52 2008
New Revision: 674023

URL: http://svn.apache.org/viewvc?rev=674023&view=rev
Log:
2008-07-04  Farid Zaripov  <faridz@apache.com>

	* tests/src/printf.cpp (_rw_fmtfloating): Use workaround for
	MSVC on MinGW too since MinGW uses MSVC's runtime.

Modified:
    stdcxx/branches/4.2.x/tests/src/printf.cpp

Modified: stdcxx/branches/4.2.x/tests/src/printf.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/src/printf.cpp?rev=674023&r1=674022&r2=674023&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/src/printf.cpp (original)
+++ stdcxx/branches/4.2.x/tests/src/printf.cpp Fri Jul  4 05:08:52 2008
@@ -1490,7 +1490,7 @@
 
     RW_ASSERT (size_t (len) < sizeof buffer);
 
-#ifdef _MSC_VER
+#if defined (_MSC_VER) || defined (__MINGW32__)
 
     if (5 < len) {
         // remove redundant zeros from the exponent (if present)
@@ -1502,7 +1502,7 @@
         }
     }
 
-#endif   // _MSC_VER
+#endif   // _MSC_VER || __MINGW32__
 
 
     if (-1 < len && 0 == _rw_bufcat (buf, buffer, size_t (len)))



Mime
View raw message