mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
fixes for build on windows
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define GPIO_HPP
|
||||
|
||||
#include <QObject>
|
||||
#if defined(__aarch64__) || defined(__x86_64__)
|
||||
#if defined(__linux__) && (defined(__aarch64__) || defined(__x86_64__))
|
||||
#include <gpiod.hpp>
|
||||
#else
|
||||
|
||||
@@ -24,7 +24,9 @@ class GPIO : public QObject
|
||||
bool value();
|
||||
|
||||
private:
|
||||
#if defined(__linux__) && (defined(__aarch64__) || defined(__x86_64__))
|
||||
std::unique_ptr<gpiod::line_request> m_request;
|
||||
#endif
|
||||
unsigned int m_offset;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user