enhancement to support gcc visibility.

These changes are meant to support gcc visibility on mingw platforms - which is basically gcc with windows attributes.
This commit is contained in:
Robert Ramey
2015-04-22 22:02:56 -07:00
parent 7565de4008
commit 23b012ef66
44 changed files with 89 additions and 75 deletions

View File

@@ -41,7 +41,7 @@ namespace archive {
// constants used in archive signature
//This should never ever change. note that is not an std::string
// string.
BOOST_SYMBOL_VISIBLE const char *
BOOST_ARCHIVE_SYMBOL_VISIBLE const char *
BOOST_ARCHIVE_SIGNATURE(){
return "serialization::archive";
}
@@ -75,7 +75,7 @@ BOOST_ARCHIVE_SIGNATURE(){
// 12- improved serialization of collections
// 13- simplified visibility, removed Borland, removed pfto
BOOST_SYMBOL_VISIBLE library_version_type
BOOST_ARCHIVE_SYMBOL_VISIBLE library_version_type
BOOST_ARCHIVE_VERSION(){
return library_version_type(13);
}