aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/lockbox/bit.lua
blob: 0ccdb82ea3312f419765d9eaec11255a726301ad (plain)
1
2
3
4
5
6
7
8
9
10
11
local e = bit

-- Workaround to support Lua 5.2 bit32 API with the LuaJIT bit one
if e.rol and not e.lrotate then
	e.lrotate = e.rol
end
if e.ror and not e.rrotate then
	e.rrotate = e.ror
end

return bit