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,

Message: 2
Date: Wed, 30 Nov 2011 18:32:24 +0100
From: Mike Pall<>
Subject: Re: Detecting LuaJIT at compile time
To: Lua mailing list<>
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.