diff -urp boost_1_48_0~/boost/config/compiler/gcc.hpp boost_1_48_0/boost/config/compiler/gcc.hpp
|
old
|
new
|
|
| 120 | 120 | // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment, |
| 121 | 121 | // so does not define _WIN32 or its variants. |
| 122 | 122 | # define BOOST_HAS_DECLSPEC |
| 123 | | # define BOOST_SYMBOL_EXPORT __attribute__((dllexport)) |
| 124 | | # define BOOST_SYMBOL_IMPORT __attribute__((dllimport)) |
| | 123 | # define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__)) |
| | 124 | # define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__)) |
| 125 | 125 | # else |
| 126 | | # define BOOST_SYMBOL_EXPORT __attribute__((visibility("default"))) |
| | 126 | # define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default"))) |
| 127 | 127 | # define BOOST_SYMBOL_IMPORT |
| 128 | 128 | # endif |
| 129 | | # define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default"))) |
| | 129 | # define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default"))) |
| 130 | 130 | #else |
| 131 | 131 | // config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined |
| 132 | 132 | # define BOOST_SYMBOL_EXPORT |