summaryrefslogtreecommitdiffstats
path: root/xbmc/peripherals/bus/PeripheralBusUSB.h
blob: dd32ff6e50212c70a868540c87a9bceab7c5f074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *  Copyright (C) 2005-2018 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#pragma once

#if defined(TARGET_WINDOWS_DESKTOP)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "platform/win32/peripherals/PeripheralBusUSB.h"
#elif defined(TARGET_WINDOWS_STORE)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "platform/win10/peripherals/PeripheralBusUSB.h"
#elif defined(TARGET_LINUX) && defined(HAVE_LIBUDEV)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "platform/linux/peripherals/PeripheralBusUSBLibUdev.h"
#elif defined(TARGET_LINUX) && defined(HAVE_LIBUSB)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "platform/linux/peripherals/PeripheralBusUSBLibUSB.h"
#elif defined(TARGET_FREEBSD) && defined(HAVE_LIBUSB)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "platform/linux/peripherals/PeripheralBusUSBLibUSB.h"
#elif defined(TARGET_DARWIN_OSX)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "platform/darwin/osx/peripherals/PeripheralBusUSB.h"
#endif