[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Detecting LuaJIT at compile time
- From: Antonio Vieiro <antonio@...>
- Date: Thu, 01 Dec 2011 22:36:16 +0100
But, for god's sake, this is extraordinary!
Thanks for the explanation,
Date: Wed, 30 Nov 2011 18:32:24 +0100
From: Mike Pall<firstname.lastname@example.org>
Subject: Re: Detecting LuaJIT at compile time
To: Lua mailing list<email@example.com>
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.