kerberos-io / machinery

(DEPRECATED) An open source image processing framework, which uses your USB-, IP- or RPi-camera to recognize events (e.g. motion).
https://www.kerberos.io
490 stars 104 forks source link

Fix Code Issues when Cross Compiling #181

Closed edman007 closed 5 years ago

edman007 commented 5 years ago

Hi, I was trying to build this cross compiling, and I noticed a few issues if you build for Generic UNIX instead of Linux, a couple of the ifdefs are written with assumptions that make broken code. I changed these to be based entirely off FILEWATCH_PLATFORM and fixed the definition of that to have a valid fallback.

cedricve commented 5 years ago

Thank you looks good!