diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-28 03:22:22 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:48:18 +0100 |
commit | a80b8da2d303c666f97460347a36e454bff83c5b (patch) | |
tree | a41f967f904929d8bbad87bb3d62f317b942281a /tracker-hydra | |
parent | b21b6371e3d09551e1cc4d81a0021942dfc064e9 (diff) |
tracker/hydra: fix scary logic error
The sixense library checks for the `WIN32` (no underscore). Define that
macro in case `_WIN32` is defined.
Diffstat (limited to 'tracker-hydra')
-rw-r--r-- | tracker-hydra/ftnoir_tracker_hydra.cpp | 3 |
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> |