From 3a997eefb5b329fc7bc5de5a16f8d78cd6b6dcdc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 25 Nov 2011 10:52:27 -0200 Subject: [PATCH] MS_ASMTRICK is only valid on MS compilers (not any Windows compiler) --- luaconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luaconf.h b/luaconf.h index c881919b..b04a704d 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.165 2011/11/05 15:29:05 roberto Exp roberto $ +** $Id: luaconf.h,v 1.166 2011/11/09 14:47:14 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -463,7 +463,7 @@ /* On a Microsoft compiler on a Pentium, use assembler to avoid clashes with a DirectX idiosyncrasy */ -#if defined(LUA_WIN) && defined(_M_IX86) /* { */ +#if defined(LUA_WIN) && defined(_MSC_VER) && defined(_M_IX86) /* { */ #define MS_ASMTRICK