aboutsummaryrefslogtreecommitdiff
path: root/redist
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-03 22:56:40 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-04 00:41:47 -0600
commitbe7593dc945ed4025f81c6876760807310a67319 (patch)
treeb7a8647e1b9559629450509779ed522a5c59fb25 /redist
parent7d1d930dcb99559eee95fc8a94cc68d12a968353 (diff)
downloadlibsurvive-be7593dc945ed4025f81c6876760807310a67319.tar.gz
libsurvive-be7593dc945ed4025f81c6876760807310a67319.tar.bz2
Minor cleanup
Diffstat (limited to 'redist')
-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