HELP !: Library Works with UNO but not Intel Edison

the touch sensing library will not upload to the Intel Edison but it will to the UNO. the library used for this lcd is Adafruit_ili9341.


Arduino: 1.8.1 (Windows 10), Board: "Intel® Edison"

In file included from C:\Users\Mr Fawwaz\Desktop\SMART_PARKING\SMART_PARKING.ino:4:0:

C:\Program Files (x86)\Arduino\libraries\TouchScreen/TouchScreen.h:51:12: error: 'RwReg' does not name a type

volatile RwReg *xp_port, *yp_port, *xm_port, *ym_port;

C:\Program Files (x86)\Arduino\libraries\TouchScreen/TouchScreen.h:52:3: error: 'RwReg' does not name a type

RwReg xp_pin, xm_pin, yp_pin, ym_pin;

exit status 1
Error compiling for board Intel® Edison.

I don't know enough about libraries to change the .h file to fix this. I was hoping someone could point me in the right direction on making it compatible with the Intel Edison because this is the best/only library that works well for me. Thanks.

You can download the library here.