summaryrefslogtreecommitdiffstats
path: root/thirdparty/msdfgen/core/generator-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/msdfgen/core/generator-config.h')
-rw-r--r--thirdparty/msdfgen/core/generator-config.h8
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 {