diff options
-rw-r--r-- | luaotfload-extralibs.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/luaotfload-extralibs.lua b/luaotfload-extralibs.lua index 2236631..618808f 100644 --- a/luaotfload-extralibs.lua +++ b/luaotfload-extralibs.lua @@ -230,7 +230,12 @@ attributes.private = attributes.private or function (attr_name) return res end -attributes.unsetvalue = luatexbase.get_unset_value() +if luatexbase.get_unset_value then + attributes.unsetvalue = luatexbase.get_unset_value() +else -- old luatexbase + attributes.unsetvalue = (luatexbase.luatexversion < 37) and -1 + or -2147483647 +end ----------------------------------------------------------------------- --- luat-sto |