LUA_CORE condition removed from definition of some 'tricks' (as it

controlled only a few other defines) + MS_ASMTRICK renamed to
LUA_MSASMTRICK
This commit is contained in:
Roberto Ierusalimschy
2012-10-01 11:14:45 -03:00
parent adaba04059
commit 31f7d553e4
2 changed files with 6 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: llimits.h,v 1.98 2012/05/11 14:10:50 roberto Exp roberto $
** $Id: llimits.h,v 1.99 2012/05/28 20:32:28 roberto Exp roberto $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/
@@ -200,7 +200,7 @@ typedef lu_int32 Instruction;
** both small and large values (outside the range of integers).
*/
#if defined(MS_ASMTRICK) /* { */
#if defined(MS_ASMTRICK) || defined(LUA_MSASMTRICK) /* { */
/* trick with Microsoft assembler for X86 */
#define lua_number2int(i,n) __asm {__asm fld n __asm fistp i}