1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEFS_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEFS_WIN_H_
11 #include <ntverp.h> // For VER_PRODUCTBUILD
14 #if VER_PRODUCTBUILD > 9600
15 // bthledef.h is fixed in the Windows 10 SDK and the extra pop then triggers a
16 // warning, so we skip it when VER_PRODUCTBUILD is > 9600 (8.1 SDK)
20 // bthledef.h in the Windows 8.1 SDK is buggy and contains
23 // #pragma warning(pop)
24 // So, we disable the "unknown pragma" warning, then actually pop, and then pop
25 // our disabling of 4068.
26 #pragma warning(disable: 4068)
32 #include <bluetoothapis.h>
33 #include <bluetoothleapis.h>
35 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEFS_WIN_H_