mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-23 18:12:09 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user