detail: centralize all tests for Windows on variable 'LUA_WIN'

This commit is contained in:
Roberto Ierusalimschy 2011-08-23 14:25:42 -03:00
parent 3dc5475e23
commit a8675966ec

View File

@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.161 2011/07/08 20:07:11 roberto Exp roberto $
** $Id: luaconf.h,v 1.162 2011/07/25 17:20:47 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@ -459,7 +459,7 @@
/* On a Microsoft compiler on a Pentium, use assembler to avoid clashes
with a DirectX idiosyncrasy */
#if defined(_MSC_VER) && defined(_M_IX86) /* { */
#if defined(LUA_WIN) && defined(_M_IX86) /* { */
#define MS_ASMTRICK