diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-12 10:30:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-12 10:30:36 +0100 |
commit | c6ccce7086e5bcd2af1078864bdce73c71a468eb (patch) | |
tree | a1ecbb9db43b73344b204f0140df6fd28d1f51bb /tracker-wii | |
parent | 55ec85583a6eeb334cb15e8fb572b56f84311951 (diff) |
tracker/wii: silence #pragma deprecated
Also downcase win32 api header name. This fixes
building for Windows from Linux.
Diffstat (limited to 'tracker-wii')
-rw-r--r-- | tracker-wii/wii_camera.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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 <BluetoothAPIs.h> +#include <bluetoothapis.h> using namespace pt_module; |