aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-10-01 11:14:45 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-10-01 11:14:45 -0300
commit31f7d553e413385143edc8f253a5db5fb5462e07 (patch)
tree4d63d4446756d0937a42845441c125112a6ce12b /llimits.h
parentadaba04059ddec1c7c55dab16981f3ae2f0c3279 (diff)
downloadlua-31f7d553e413385143edc8f253a5db5fb5462e07.tar.gz
lua-31f7d553e413385143edc8f253a5db5fb5462e07.tar.bz2
lua-31f7d553e413385143edc8f253a5db5fb5462e07.zip
LUA_CORE condition removed from definition of some 'tricks' (as it
controlled only a few other defines) + MS_ASMTRICK renamed to LUA_MSASMTRICK
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llimits.h b/llimits.h
index b5a70487..665eb951 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.98 2012/05/11 14:10:50 roberto Exp roberto $ 2** $Id: llimits.h,v 1.99 2012/05/28 20:32:28 roberto Exp roberto $
3** Limits, basic types, and some other `installation-dependent' definitions 3** Limits, basic types, and some other `installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -200,7 +200,7 @@ typedef lu_int32 Instruction;
200** both small and large values (outside the range of integers). 200** both small and large values (outside the range of integers).
201*/ 201*/
202 202
203#if defined(MS_ASMTRICK) /* { */ 203#if defined(MS_ASMTRICK) || defined(LUA_MSASMTRICK) /* { */
204/* trick with Microsoft assembler for X86 */ 204/* trick with Microsoft assembler for X86 */
205 205
206#define lua_number2int(i,n) __asm {__asm fld n __asm fistp i} 206#define lua_number2int(i,n) __asm {__asm fld n __asm fistp i}