Avoid compiler warnings about redefined C++ keywords.

This commit is contained in:
Mike Pall
2012-07-09 16:02:05 +02:00
parent 6e4d0fdc8e
commit f20ff8a30d
6 changed files with 10 additions and 10 deletions

View File

@@ -842,7 +842,7 @@ static LJ_AINLINE lua_Number numberVnum(cTValue *o)
LJ_DATA const char *const lj_obj_typename[1+LUA_TCDATA+1];
LJ_DATA const char *const lj_obj_itypename[~LJ_TNUMX+1];
#define typename(o) (lj_obj_itypename[itypemap(o)])
#define lj_typename(o) (lj_obj_itypename[itypemap(o)])
/* Compare two objects without calling metamethods. */
LJ_FUNC int lj_obj_equal(cTValue *o1, cTValue *o2);