--- lpeg-1.0.1/lptypes.h 2017-01-14 19:57:16.000000000 +0100 +++ lpeg-1.0.1.new/lptypes.h 2018-07-09 21:10:09.871491013 +0200 @@ -29,7 +29,7 @@ /* ** compatibility with Lua 5.1 */ -#if (LUA_VERSION_NUM == 501) +#if (LUA_VERSION_NUM >= 501) #define lp_equal lua_equal