summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-02 11:58:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-03 04:56:04 +0200
commit340906d3571ba3c75e67d8457de4129381d5a6b3 (patch)
treee6d502dcf39bb8f7eb5ee685da7781e51bf1b717 /ftnoir_tracker_aruco
parent54dd13ffc6c16a149a55c75ce3dd3724fc8684b4 (diff)
try fix MSVC
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/include/exports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_aruco/include/exports.h b/ftnoir_tracker_aruco/include/exports.h
index aaeb94e4..8f7dab8c 100644
--- a/ftnoir_tracker_aruco/include/exports.h
+++ b/ftnoir_tracker_aruco/include/exports.h
@@ -36,7 +36,7 @@ or implied, of Rafael Muñoz Salinas.
#endif
-#if (defined WIN32 || defined _WIN32 || defined WINCE) && defined DSO_EXPORTS
+#if ((defined WIN32 || defined _WIN32 || defined WINCE) && defined DSO_EXPORTS) || defined(_MSC_VER)
#define ARUCO_EXPORTS __declspec(dllexport)
#else
#define ARUCO_EXPORTS __attribute__ ((visibility ("default")))