Separate list devices for Linux.

This commit is contained in:
2019-10-13 00:05:13 +01:00
parent 782c2b1e20
commit 321cd275ee
4 changed files with 63 additions and 1 deletions

View File

@@ -17,7 +17,15 @@
#include "dicmote.h"
#if defined(__linux__) && !defined(__ANDROID__)
#include "linux/linux.h"
#endif
DeviceInfoList* ListDevices()
{
#if defined(__linux__) && !defined(__ANDROID__)
return linux_list_devices();
#else
return 0;
#endif
}