summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_includes_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/bluetooth_includes_win.h')
-rw-r--r--device/bluetooth/bluetooth_includes_win.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_includes_win.h b/device/bluetooth/bluetooth_includes_win.h
new file mode 100644
index 0000000..ed9bd6b
--- /dev/null
+++ b/device/bluetooth/bluetooth_includes_win.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_INCLUDES_WIN_H_
+#define DEVICE_BLUETOOTH_BLUETOOTH_INCLUDES_WIN_H_
+
+// windows.h needs to be included before BluetoothAPIs.h.
+#include <windows.h>
+
+#include <BluetoothAPIs.h>
+#if defined(_WIN32_WINNT_WIN8) && _MSC_VER < 1700
+// The Windows 8 SDK defines FACILITY_VISUALCPP in winerror.h.
+#undef FACILITY_VISUALCPP
+#endif
+#include <delayimp.h>
+
+#pragma comment(lib, "Bthprops.lib")
+
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_INCLUDES_WIN_H_ \ No newline at end of file