From 659567c4d597e245bad5d371f16fbc640a278a7d Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Sat, 11 May 2019 18:57:18 +0700 Subject: [PATCH] Because grisu_format does "import" when `sizeof(Double) == sizeof(uint64_t)` So we have to "export" here also. --- include/fmt/format-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index d8956822..e163f333 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -683,7 +683,7 @@ template struct grisu_shortest_handler { }; template -FMT_FUNC bool grisu_format(Double value, buffer& buf, int precision, +FMT_FUNC FMT_API bool grisu_format(Double value, buffer& buf, int precision, unsigned options, int& exp) { FMT_ASSERT(value >= 0, "value is negative"); bool fixed = (options & grisu_options::fixed) != 0;