summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-28 03:22:22 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commita80b8da2d303c666f97460347a36e454bff83c5b (patch)
treea41f967f904929d8bbad87bb3d62f317b942281a
parentb21b6371e3d09551e1cc4d81a0021942dfc064e9 (diff)
tracker/hydra: fix scary logic error
The sixense library checks for the `WIN32` (no underscore). Define that macro in case `_WIN32` is defined.
-rw-r--r--tracker-hydra/ftnoir_tracker_hydra.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-hydra/ftnoir_tracker_hydra.cpp b/tracker-hydra/ftnoir_tracker_hydra.cpp
index 2e9e1fc5..5f548bd6 100644
--- a/tracker-hydra/ftnoir_tracker_hydra.cpp
+++ b/tracker-hydra/ftnoir_tracker_hydra.cpp
@@ -18,8 +18,9 @@
#include <cstdio>
#include <cmath>
#ifdef _WIN32
+# undef WIN32
+# define WIN32
# define SIXENSE_STATIC_LIB
-# define SIXENSE_UTILS_STATIC_LIB
#endif
#include <sixense.h>