diff --git a/include/yaml-cpp/fptostring.h b/include/yaml-cpp/fptostring.h index e9aeb1c..ffaf8db 100644 --- a/include/yaml-cpp/fptostring.h +++ b/include/yaml-cpp/fptostring.h @@ -4,13 +4,15 @@ #ifndef YAML_H_FP_TO_STRING #define YAML_H_FP_TO_STRING +#include "yaml-cpp/dll.h" + #include namespace YAML { // "precision = 0" refers to shortest known unique representation of the value -std::string FpToString(float v, size_t precision = 0); -std::string FpToString(double v, size_t precision = 0); -std::string FpToString(long double v, size_t precision = 0); +YAML_CPP_API std::string FpToString(float v, size_t precision = 0); +YAML_CPP_API std::string FpToString(double v, size_t precision = 0); +YAML_CPP_API std::string FpToString(long double v, size_t precision = 0); } #endif