aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/survive_types.h
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 /include/libsurvive/survive_types.h
parent7d1d930dcb99559eee95fc8a94cc68d12a968353 (diff)
downloadlibsurvive-be7593dc945ed4025f81c6876760807310a67319.tar.gz
libsurvive-be7593dc945ed4025f81c6876760807310a67319.tar.bz2
Minor cleanup
Diffstat (limited to 'include/libsurvive/survive_types.h')
-rw-r--r--include/libsurvive/survive_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libsurvive/survive_types.h b/include/libsurvive/survive_types.h
index b9d145f..7fa5e0f 100644
--- a/include/libsurvive/survive_types.h
+++ b/include/libsurvive/survive_types.h
@@ -4,11 +4,13 @@
#include "linmath.h"
#include "stdint.h"
+#ifndef SURVIVE_EXPORT
#ifdef _WIN32
#define SURVIVE_EXPORT __declspec(dllexport)
#else
#define SURVIVE_EXPORT __attribute__((visibility("default")))
#endif
+#endif
#ifdef __cplusplus
extern "C" {