adding support for compiling on linux
adding support for linux
it would seem the original author made a half-ways attempt at implementing linux support, but stopped at some point. made the job easier.