From c6ccce7086e5bcd2af1078864bdce73c71a468eb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 12 Feb 2018 10:30:36 +0100 Subject: tracker/wii: silence #pragma deprecated Also downcase win32 api header name. This fixes building for Windows from Linux. --- tracker-wii/wii_camera.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tracker-wii') diff --git a/tracker-wii/wii_camera.cpp b/tracker-wii/wii_camera.cpp index d3682e6f..251ab33a 100644 --- a/tracker-wii/wii_camera.cpp +++ b/tracker-wii/wii_camera.cpp @@ -6,6 +6,11 @@ * copyright notice and this permission notice appear in all copies. */ +// silence #pragma deprecated in bluetoothapis.h +#undef _WIN32_WINNT +#define _WIN32_WINNT _WIN32_WINNT_VISTA +#undef NTDDI_VERSION +#define NTDDI_VERSION NTDDI_VISTASP1 #include "wii_camera.h" #include "wii_frame.hpp" @@ -18,7 +23,7 @@ #include "cv/video-property-page.hpp" -#include +#include using namespace pt_module; -- cgit v1.2.3