You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by vi...@apache.org on 2008/08/04 22:52:16 UTC

svn commit: r682505 - /stdcxx/trunk/tests/include/rw_testdefs.h

Author: vitek
Date: Mon Aug  4 13:52:16 2008
New Revision: 682505

URL: http://svn.apache.org/viewvc?rev=682505&view=rev
Log:
2008-08-04  Travis Vitek  <vi...@roguewave.com>

	Merge rest of r665784 from branches/4.2.x

	2008-06-09  Farid Zaripov  <fa...@epam.com>

	* tests/include/rw_testdefs.h: Use dllimport/dllexport attributes
	on MSVC and ICC/Windows only.


Modified:
    stdcxx/trunk/tests/include/rw_testdefs.h

Modified: stdcxx/trunk/tests/include/rw_testdefs.h
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/include/rw_testdefs.h?rev=682505&r1=682504&r2=682505&view=diff
==============================================================================
--- stdcxx/trunk/tests/include/rw_testdefs.h (original)
+++ stdcxx/trunk/tests/include/rw_testdefs.h Mon Aug  4 13:52:16 2008
@@ -43,8 +43,7 @@
 #endif   // _RWSTD_TEST_SRC
 
 
-#if    (defined (_WIN32) || defined (_WIN64)) \
-    && (defined (RWDLL) || defined (_RWSHARED))
+#if defined (_MSC_VER) && (defined (RWDLL) || defined (_RWSHARED))
 #  ifndef _RWSTD_TEST_SRC
      // using a shared lib, import names
 #    define _TEST_EXPORT   __declspec (dllimport)