commit 3a997eefb5b329fc7bc5de5a16f8d78cd6b6dcdc
parent 5184ff209657cf76f3ef7e70a3db69b376b9ff17
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Fri, 25 Nov 2011 10:52:03 -0200
MS_ASMTRICK is only valid on MS compilers (not any Windows compiler)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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