summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/rs_impl
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-02 11:15:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-05 00:16:14 +0200
commit93bb0f6acb6c99fe5748f118daccfa75dbcde0c3 (patch)
treeda9fff376ba5d60ff945501d170c89aea2ff0b18 /tracker-rs/rs_impl
parent8fdfdef925be8d0aa1e075dd6a4d5f7f19fbee17 (diff)
tracker/rs/impl: fix build
Breaks on Visual Studio 15.7.0 Preview 2 due to: - _InterlockedIncrement - _InterlockedDecrement
Diffstat (limited to 'tracker-rs/rs_impl')
-rw-r--r--tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
index f159d60b..41406193 100644
--- a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
+++ b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
@@ -5,10 +5,14 @@
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "ftnoir_tracker_rs_impl.h"
+
+#ifdef _WIN32
+# include <windows.h>
+#endif
+
#include <pxcsensemanager.h>
#include <pxcfacemodule.h>
#include <pxcfaceconfiguration.h>
-#include <windows.h>
const size_t kPreviewStreamWidth = 640;
const size_t kPreviewStreamHeight = 480;