diff options
Diffstat (limited to 'thirdparty/msdfgen/core/generator-config.h')
-rw-r--r-- | thirdparty/msdfgen/core/generator-config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/thirdparty/msdfgen/core/generator-config.h b/thirdparty/msdfgen/core/generator-config.h index ddcad961f2..b430d37f3c 100644 --- a/thirdparty/msdfgen/core/generator-config.h +++ b/thirdparty/msdfgen/core/generator-config.h @@ -4,14 +4,18 @@ #include <cstdlib> #include "BitmapRef.hpp" +#ifndef MSDFGEN_PUBLIC +#define MSDFGEN_PUBLIC // for DLL import/export +#endif + namespace msdfgen { /// The configuration of the MSDF error correction pass. struct ErrorCorrectionConfig { /// The default value of minDeviationRatio. - static const double defaultMinDeviationRatio; + static MSDFGEN_PUBLIC const double defaultMinDeviationRatio; /// The default value of minImproveRatio. - static const double defaultMinImproveRatio; + static MSDFGEN_PUBLIC const double defaultMinImproveRatio; /// Mode of operation. enum Mode { |