I second this - either dropping the PRIVATE or the whole of LUA_USE_MACOSX and LUA_DL_DYLD.
And making readline the default on OS X.
Gé Weijers kirjoitti 3.4.2007 kello 16:57:
Windows can do special tricks as well, but AFAIK the Unix-type systems don't offer anything special, and you have to use Posix threads functionality for thread-local storage. For code designed to be portable within the Posix family the use of the 'PRIVATE' flag is an impediment to portability. For that reason alone it needs to be removed.