lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Sep 29, 2014 at 12:02 PM, Enrico Colombini <erix@erix.it> wrote:
On 29/09/2014 10.56, Victor Bombi wrote:
Best hack for me:

-----------------extracted from penligth (Steve Donovan)
local is_windows = package.config:sub(1,1) == '\\'

Yes, that's what Oliver Kroth and Dirk Laurie also suggested. Thanks to all!

If you happen to run LuaJIT there is this:
http://luajit.org/ext_jit.html#jit_os