From a80b8da2d303c666f97460347a36e454bff83c5b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 28 Dec 2018 03:22:22 +0100 Subject: tracker/hydra: fix scary logic error The sixense library checks for the `WIN32` (no underscore). Define that macro in case `_WIN32` is defined. --- tracker-hydra/ftnoir_tracker_hydra.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tracker-hydra') 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 #include #ifdef _WIN32 +# undef WIN32 +# define WIN32 # define SIXENSE_STATIC_LIB -# define SIXENSE_UTILS_STATIC_LIB #endif #include -- cgit v1.2.3