Export assert_fail with FMT_API. This fixes dll build.

This commit is contained in:
Egor Pugin
2019-12-03 04:14:16 +03:00
committed by Victor Zverovich
parent b160123e39
commit 1a599117d8
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ inline fmt::internal::null<> strerror_s(char*, std::size_t, ...) { return {}; }
FMT_BEGIN_NAMESPACE
namespace internal {
FMT_FUNC void assert_fail(const char* file, int line, const char* message) {
FMT_API FMT_FUNC void assert_fail(const char* file, int line, const char* message) {
print(stderr, "{}:{}: assertion failed: {}", file, line, message);
std::abort();
}