summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/compile-test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-28 17:26:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-28 21:27:35 +0200
commit9bac55a0ac7365b241df8a3dacbdacf59698c862 (patch)
treecd30a3552fda74c63d8a9056888b34adad3d1250 /tracker-aruco/compile-test
parent0c27d726a900b901e8bffafe993a3d3e36bf27f3 (diff)
tracker/aruco: ensure using right ABI
Diffstat (limited to 'tracker-aruco/compile-test')
-rw-r--r--tracker-aruco/compile-test/abi.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tracker-aruco/compile-test/abi.cpp b/tracker-aruco/compile-test/abi.cpp
new file mode 100644
index 00000000..633188de
--- /dev/null
+++ b/tracker-aruco/compile-test/abi.cpp
@@ -0,0 +1,11 @@
+#include "../../compat/linkage-macros.hpp"
+
+#define ARUCO_ABI aruco_opentrack_fork_abi_1
+
+extern "C" void ARUCO_ABI(void);
+
+int main(void)
+{
+ ARUCO_ABI();
+ return 0;
+}