aboutsummaryrefslogtreecommitdiff
path: root/redist/linmath.h
diff options
context:
space:
mode:
authorjdavidberger <j.david.berger@gmail.com>2018-04-11 10:51:45 -0600
committerGitHub <noreply@github.com>2018-04-11 10:51:45 -0600
commit0cd7e8d9783e8cdff7be99a330b2096a0648b192 (patch)
tree09fa3f286dc20d87448220a4f7800fd0e3f04087 /redist/linmath.h
parent7af7eec04bc03719aa6b2879fe599ff0cf43e032 (diff)
parent8469de349450efb8e71fd0735bfe2dd6d3c62063 (diff)
downloadlibsurvive-0cd7e8d9783e8cdff7be99a330b2096a0648b192.tar.gz
libsurvive-0cd7e8d9783e8cdff7be99a330b2096a0648b192.tar.bz2
Merge pull request #123 from cnlohr/simple_api
Simple async api
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 29db5a9..e46bbd4 100644
--- a/redist/linmath.h
+++ b/redist/linmath.h
@@ -7,11 +7,13 @@
extern "C" {
#endif
+#ifndef LINMATH_EXPORT
#ifdef _WIN32
#define LINMATH_EXPORT extern __declspec(dllexport)
#else
#define LINMATH_EXPORT __attribute__((visibility("default")))
#endif
+#endif
// Yes, I know it's kind of arbitrary.
#define DEFAULT_EPSILON 0.001