Skip to content

Commit 9a9fd01

Browse files
committed
synchronized with lua-nginx-module #a96e99a (only compile with LuaJIT 2.x).
1 parent c632dae commit 9a9fd01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/subsys/ngx_subsys_lua_common.h.tt2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
#endif
7070

7171

72+
#if !defined(LUAJIT_VERSION_NUM) || (LUAJIT_VERSION_NUM < 20000)
73+
# error unsupported LuaJIT version
74+
#endif
75+
76+
7277
#if (!defined OPENSSL_NO_OCSP && defined SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB)
7378
# define NGX_[% SUBSYS %]_LUA_USE_OCSP 1
7479
#endif

0 commit comments

Comments
 (0)