[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Version
- From: Reuben Thomas <rrt@...>
- Date: Wed, 10 Jul 2002 15:41:37 +0100 (BST)
> >#define LUA_VERSION_NUMBER 5.0
> Except that I think ANSI C says that the preprocessor does not handle floating
> point numbers, only integers.
> >#define LUA_VERSION # LUA_VERSION_NUMBER
> Except that some compilers choke on this and generate "LUA_VERSION_NUMBER"
> instead of "5.0". We've been bitten by this in earlier versions.
Well, they're broken then. Anyway, it can say "5.0" or whatever, it's not
too bad if it's just two lines.
http://www.mupsych.org/~rrt/ | irrevocable, a. expensive; see also lawyer