How can one enable platform specific features in Lua?
By default Lua doesn’t have the library calls for things like io.popen which are specific to the operating system.
So for us - what is the best way to enable operating system specific features?
We can modify luaconf.h and check for WIN32, what ever the linux and mac defines are and switch on the rules.
WIN32 - works for both 32 and 64 bit windows.
__APPLE__ seems to be good for OSX
__linux__ is good for linux
, multiple selections available,