Ticket #13052: boost-fix-locale-visibility.patch

File boost-fix-locale-visibility.patch, 966 bytes (added by anonymous, 5 years ago)
  • include/boost/locale/definitions.hpp

    diff --git a/include/boost/locale/definitions.hpp b/include/boost/locale/definitions.hpp
    index b305ff7..8c50d49 100644
    a b  
    1515# define BOOST_SYMBOL_VISIBLE
    1616#endif
    1717
    18 #ifdef BOOST_HAS_DECLSPEC
    19 #   if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
    20 #       ifdef BOOST_LOCALE_SOURCE
    21 #           define BOOST_LOCALE_DECL BOOST_SYMBOL_EXPORT
    22 #       else
    23 #           define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT
    24 #       endif  // BOOST_LOCALE_SOURCE
    25 #   endif  // DYN_LINK
    26 #endif  // BOOST_HAS_DECLSPEC
     18# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
     19#     ifdef BOOST_LOCALE_SOURCE
     20#         define BOOST_LOCALE_DECL BOOST_SYMBOL_EXPORT
     21#     else
     22#         define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT
     23#     endif  // BOOST_LOCALE_SOURCE
     24# endif  // DYN_LINK
    2725
    2826#ifndef BOOST_LOCALE_DECL
    2927#   define BOOST_LOCALE_DECL