From 1a69a3eceab706f3b83abd41507aba1d969aaf4f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 31 Oct 2014 13:54:06 -0200 Subject: LUA_WIN -> LUA_USE_WINDOWS --- liolib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 9aa71b68..0927d7c0 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 2.136 2014/10/22 16:55:57 roberto Exp roberto $ +** $Id: liolib.c,v 2.137 2014/10/25 11:50:46 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -60,7 +60,7 @@ #define l_popen(L,c,m) (fflush(NULL), popen(c,m)) #define l_pclose(L,file) (pclose(file)) -#elif defined(LUA_WIN) /* }{ */ +#elif defined(LUA_USE_WINDOWS) /* }{ */ #define l_popen(L,c,m) (_popen(c,m)) #define l_pclose(L,file) (_pclose(file)) @@ -112,7 +112,7 @@ #define l_ftell(f) ftello(f) #define l_seeknum off_t -#elif defined(LUA_WIN) && !defined(_CRTIMP_TYPEINFO) \ +#elif defined(LUA_USE_WINDOWS) && !defined(_CRTIMP_TYPEINFO) \ && defined(_MSC_VER) && (_MSC_VER >= 1400) /* }{ */ /* Windows (but not DDK) and Visual C++ 2005 or higher */ -- cgit v1.2.3-55-g6feb