Private
Public Access
2
0

mock: mraa with mock platform now works in Windows under MSYS2

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Alex Tereschenko
2016-07-01 23:09:34 +02:00
committed by Brendan Le Foll
parent bcb6adc551
commit 1af737f3d9
11 changed files with 141 additions and 3 deletions

View File

@@ -106,7 +106,12 @@ enum iio_event_direction {
};
//linux/iio/events.h
#if defined(MSYS)
#define __USE_LINUX_IOCTL_DEFS
#include <sys/ioctl.h>
#else
#include <linux/ioctl.h>
#endif
/**
* struct iio_event_data - The actual event being pushed to userspace