Ticket #6407: boost-serialization.patch

File boost-serialization.patch, 904 bytes (added by Petr Machata <pmachata@…>, 11 years ago)
  • boost/serialization/force_include.hpp

    diff -urp boost_1_48_0~/boost/serialization/force_include.hpp boost_1_48_0/boost/serialization/force_include.hpp
    old new  
    4040#   if defined(__MWERKS__)
    4141#       define BOOST_DLLEXPORT __declspec(dllexport)
    4242#   elif defined(__GNUC__) && (__GNUC__ >= 3)
    43 #       define BOOST_USED __attribute__ ((used))
     43#       define BOOST_USED __attribute__ ((__used__))
    4444#   elif defined(__IBMCPP__) && (__IBMCPP__ >= 1110)
    45 #       define BOOST_USED __attribute__ ((used))
     45#       define BOOST_USED __attribute__ ((__used__))
    4646#   elif defined(__INTEL_COMPILER) && (BOOST_INTEL_CXX_VERSION >= 800)
    47 #       define BOOST_USED __attribute__ ((used))
     47#       define BOOST_USED __attribute__ ((__used__))
    4848#   endif
    4949#endif
    5050