[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Detecting LuaJIT at compile time
- From: Javier Guerra Giraldez <javier@...>
- Date: Wed, 30 Nov 2011 12:46:33 -0500
On Wed, Nov 30, 2011 at 12:32 PM, Mike Pall <email@example.com> wrote:
> 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.
Maybe Antonio's C code isn't a module, but is embedding Lua? In that
case, i think the question makes some sense, even if the chosen
library could still be changed at dynamic link time....