stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r586594 - /incubator/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h
Date Fri, 19 Oct 2007 20:03:46 GMT
Author: sebor
Date: Fri Oct 19 13:03:46 2007
New Revision: 586594

URL: http://svn.apache.org/viewvc?rev=586594&view=rev
Log:
2007-10-19 Farid Zaripov <farid_zaripov@epam.com>

	Merged rev 586502 from branches/4.2.0.
	* _config-msvcrt.h [_DLL]: Define configuration macros
	to maintain binary compatibility with 4.1.x on MSVC
	only for dynamic builds to prevent the multiple
	definition symbols linker errors.

Modified:
    incubator/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h

Modified: incubator/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h?rev=586594&r1=586593&r2=586594&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h (original)
+++ incubator/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h Fri Oct 19 13:03:46 2007
@@ -220,7 +220,7 @@
 
 #endif   // _NATIVE_WCHAR_T_DEFINED
 
-#if _RWSTD_VER_MAJOR < 5
+#if _RWSTD_VER_MAJOR < 5 && defined (_DLL)
    // defined for binary compatibility with stdcxx 4.1.x
    // (for all versions of MSVC and Intel C++)
 #  define _RWSTD_NO_BAD_CAST_ASSIGNMENT
@@ -234,4 +234,4 @@
 #  define _RWSTD_NO_EXCEPTION_DEFAULT_CTOR
 #  define _RWSTD_NO_EXCEPTION_DTOR
 #  define _RWSTD_NO_EXCEPTION_WHAT
-#endif   // _RWSTD_VER_MAJOR < 5
+#endif   // _RWSTD_VER_MAJOR < 5 && _DLL



Mime
View raw message