Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / serialization / test / polymorphic_derived2.hpp
index 0b8f5e9..8c6b1c0 100644 (file)
 #include <boost/serialization/type_info_implementation.hpp>
 #include <boost/serialization/extended_type_info_typeid.hpp>
 
-#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK)
-    #if defined(POLYMORPHIC_DERIVED2_IMPORT)
-        #define POLYMORPHIC_DERIVED2_DLL_DECL BOOST_SYMBOL_IMPORT
-        #pragma message ("polymorphic_derived2 imported")
-    #elif defined(POLYMORPHIC_DERIVED2_EXPORT)
-        #define POLYMORPHIC_DERIVED2_DLL_DECL BOOST_SYMBOL_EXPORT
-        #pragma message ("polymorphic_derived2 exported")
-    #endif
+#if defined(POLYMORPHIC_DERIVED2_IMPORT)
+    #define POLYMORPHIC_DERIVED2_DLL_DECL BOOST_SYMBOL_IMPORT
+    #pragma message ("polymorphic_derived2 imported")
+#elif defined(POLYMORPHIC_DERIVED2_EXPORT)
+    #define POLYMORPHIC_DERIVED2_DLL_DECL BOOST_SYMBOL_EXPORT
+    #pragma message ("polymorphic_derived2 exported")
 #endif
 
 #ifndef POLYMORPHIC_DERIVED2_DLL_DECL