PlutoLang / Pluto

A superset of Lua 5.4 with a focus on general-purpose programming.
https://pluto-lang.org
MIT License
367 stars 22 forks source link

Get rid of LUA_USE_{POSIX,_LINUX} macros #846

Closed Sainan closed 5 months ago

Sainan commented 5 months ago

We can easily detect the platform via macros that are already provided by the compiler. Having to explicitly provide these macros is such a stupid pitfall, e.g. our PHP script builds do not set these, causing problems like failing to load C modules.