Author: faridz
Date: Fri Oct 19 08:30:10 2007
New Revision: 586502
URL: http://svn.apache.org/viewvc?rev=586502&view=rev
Log:
2007-10-19 Farid Zaripov <[EMAIL PROTECTED]>
* _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.0/include/rw/_config-msvcrt.h
Modified: incubator/stdcxx/branches/4.2.0/include/rw/_config-msvcrt.h
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.0/include/rw/_config-msvcrt.h?rev=586502&r1=586501&r2=586502&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.0/include/rw/_config-msvcrt.h (original)
+++ incubator/stdcxx/branches/4.2.0/include/rw/_config-msvcrt.h Fri Oct 19
08:30:10 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