stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r556645 - /incubator/stdcxx/trunk/include/ansi/wchar.h
Date Mon, 16 Jul 2007 15:11:03 GMT
Author: faridz
Date: Mon Jul 16 08:11:00 2007
New Revision: 556645

URL: http://svn.apache.org/viewvc?view=rev&rev=556645
Log:
2007-07-16 Farid Zaripov <Farid_Zaripov@epam.com>

	* wchar.h (swprintf): Avoided declaring function for all MSVC's.

Modified:
    incubator/stdcxx/trunk/include/ansi/wchar.h

Modified: incubator/stdcxx/trunk/include/ansi/wchar.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/wchar.h?view=diff&rev=556645&r1=556644&r2=556645
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/wchar.h (original)
+++ incubator/stdcxx/trunk/include/ansi/wchar.h Mon Jul 16 08:11:00 2007
@@ -228,13 +228,12 @@
 #  endif   // _RWSTD_NO_FWSCANF && !_RWSTD_NO_FWSCANF_IN_LIBC
 
 #  if defined (_RWSTD_NO_SWPRINTF) && !defined (_RWSTD_NO_SWPRINTF_IN_LIBC)
-#    if !defined (_MSC_VER) || _MSC_VER < 1400
+#    if !defined (_MSC_VER)
 
-// disabled for MSVC 8.0 and beyond to avoid running into its awful
-// declaration hackery
+// disabled for MSVC to avoid running into its awful declaration hackery
 int swprintf (wchar_t*, _RWSTD_SIZE_T, const wchar_t*, ...);
 
-#    endif   // !MSVC || MSVC < 8.0
+#    endif   // !MSVC
 #    undef _RWSTD_NO_SWPRINTF
 #  endif   // _RWSTD_NO_SWPRINTF && !_RWSTD_NO_SWPRINTF_IN_LIBC
 



Mime
View raw message