From 19a973a85ef5a2eaf1ca59d09ec2d6e972c0cd24 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Thu, 4 Jun 2015 13:07:43 -0700 Subject: Fixes from Google-internal. --- upb/bindings/lua/upb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upb/bindings/lua/upb.c') diff --git a/upb/bindings/lua/upb.c b/upb/bindings/lua/upb.c index 87b39e6..9629314 100644 --- a/upb/bindings/lua/upb.c +++ b/upb/bindings/lua/upb.c @@ -53,7 +53,7 @@ static size_t lupb_msgdef_sizeof(); * compatibility code can help hide the difference. Not too many people still * use Lua 5.1 but LuaJIT uses the Lua 5.1 API in some ways. */ -#if lua_version_num == 501 +#if LUA_VERSION_NUM == 501 /* taken from lua 5.2's source. */ void *luaL_testudata(lua_State *L, int ud, const char *tname) { -- cgit v1.2.3