commit | dc0306e3e4f823db7e7bd2d6d031041b58a35fef | [log] [tgz] |
---|---|---|
author | Cyril Bonté <cyril.bonte@free.fr> | Mon Mar 02 00:08:40 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 02 13:41:09 2015 +0100 |
tree | d548bda924943fdcc01973b5634fbd2092415dc0 | |
parent | 47eb2193d7ef23182ca582a6c2dff6f93e3ef8e5 [diff] |
MINOR: lua: add a compilation error message when compiled with an incompatible version haproxy Lua support begins with Lua 5.2. In order to ease the diagnostic on compilation error, a preprocessor error is added when an incompatible version is used. The compatibility is determined by the presence of LUA_VERSION_NUM and its magic value (502 for Lua 5.2.x).