Ticket #4594: exception.patch

File exception.patch, 514 bytes (added by Dimitrij Drus <dadrus@…>, 11 years ago)

Patch for boost/exception/exception.hpp file

  • exception.hpp

    old new  
    132132            }
    133133        };
    134134
     135#if defined(__GNUC__)
     136# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
     137#  pragma GCC visibility push (default)
     138# endif
     139#endif
    135140    class exception;
     141#if defined(__GNUC__)
     142# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
     143#  pragma GCC visibility pop
     144# endif
     145#endif
    136146
    137147    template <class T>
    138148    class shared_ptr;