lua-users home
lua-l archive

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


But, for god's sake, this is extraordinary!

Thanks for the explanation,
Antonio

Message: 2
Date: Wed, 30 Nov 2011 18:32:24 +0100
From: Mike Pall<mikelu-1111@mike.de>
Subject: Re: Detecting LuaJIT at compile time
To: Lua mailing list<lua-l@lists.lua.org>
Message-ID:<20111130173224.GA4963@mike.de>
Content-Type: text/plain; charset=us-ascii
I don't think you understood what I said. Your code may still be
running under either Lua or LuaJIT. It only depends on which
library you link against and/or from which VM your module is
loaded. The C compiler cannot know that. You definitely want to
print the version info provided at runtime, not a static version.

--Mike