Skip to content

Commit 5fd829e

Browse files
committed
Fix header for lua 5.5
1 parent 2ad418b commit 5fd829e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

c-api/compat-5.3.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,11 @@ COMPAT53_API void luaL_requiref (lua_State *L, const char *modname,
396396

397397

398398
/* other Lua versions */
399-
#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 504
399+
#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 505
400400

401-
# error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, or 5.4)"
401+
# error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, 5.4, or 5.5)"
402402

403-
#endif /* other Lua versions except 5.1, 5.2, 5.3, and 5.4 */
403+
#endif /* other Lua versions except 5.1, 5.2, 5.3, 5.4, and 5.5 */
404404

405405

406406

0 commit comments

Comments
 (0)