Ticket #13052: boost-fix-iostreams-visibility.2.patch

File boost-fix-iostreams-visibility.2.patch, 1.2 KB (added by anonymous, 5 years ago)

fixed version

  • include/boost/iostreams/detail/config/dyn_link.hpp

    diff --git a/include/boost/iostreams/detail/config/dyn_link.hpp b/include/boost/iostreams/detail/config/dyn_link.hpp
    index 8b13293..41fb5d7 100644
    a b  
    1313
    1414#if defined(_MSC_VER)
    1515# pragma once
    16 #endif             
     16#endif
    1717
    1818#include <boost/config.hpp>
    1919#include <boost/detail/workaround.hpp>
    2020
    21 //------------------Enable dynamic linking on windows-------------------------//
     21//------------------Enable dynamic linking on windows-------------------------//
     22
    2223
    23 #ifdef BOOST_HAS_DECLSPEC
     24# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
     25#  ifdef BOOST_IOSTREAMS_SOURCE
     26#   define BOOST_IOSTREAMS_DECL BOOST_SYMBOL_EXPORT
     27#  else
     28#   define BOOST_IOSTREAMS_DECL BOOST_SYMBOL_IMPORT
     29#  endif
     30# endif
     31
     32/*
     33#ifdef BOOST_HAS_DECLSPEC
    2434# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
    2535#  ifdef BOOST_IOSTREAMS_SOURCE
    2636#   define BOOST_IOSTREAMS_DECL __declspec(dllexport)
    2737#  else
    2838#   define BOOST_IOSTREAMS_DECL __declspec(dllimport)
    29 #  endif 
    30 # endif 
    31 #endif
     39#  endif
     40# endif
     41#endif
     42*/
    3243
    3344#ifndef BOOST_IOSTREAMS_DECL
    3445# define BOOST_IOSTREAMS_DECL