aboutsummaryrefslogtreecommitdiff
path: root/redist/linmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'redist/linmath.h')
-rw-r--r--redist/linmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/redist/linmath.h b/redist/linmath.h
index e268e96..bafdbe8 100644
--- a/redist/linmath.h
+++ b/redist/linmath.h
@@ -7,11 +7,13 @@
extern "C" {
#endif
+#ifndef LINMATH_EXPORT
#ifdef _WIN32
#define LINMATH_EXPORT __declspec(dllexport)
#else
#define LINMATH_EXPORT __attribute__((visibility("default")))
#endif
+#endif
// Yes, I know it's kind of arbitrary.
#define DEFAULT_EPSILON 0.001