gulrak / filesystem

An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
MIT License
1.32k stars 168 forks source link

Allow customization of export attributes #96

Closed phprus closed 3 years ago

phprus commented 3 years ago

For example, if the ghc::filesystem is used only inside a library with separate compilation (GHC_FILESYSTEM_FWD/GHC_FILESYSTEM_IMPLEMENTATION), then the attribute((visibility("default"))) are not needed.

gulrak commented 3 years ago

Good idea! Thank you for the PR.