diff options
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.136 2014/10/22 16:55:57 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.137 2014/10/25 11:50:46 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -60,7 +60,7 @@ | |||
60 | #define l_popen(L,c,m) (fflush(NULL), popen(c,m)) | 60 | #define l_popen(L,c,m) (fflush(NULL), popen(c,m)) |
61 | #define l_pclose(L,file) (pclose(file)) | 61 | #define l_pclose(L,file) (pclose(file)) |
62 | 62 | ||
63 | #elif defined(LUA_WIN) /* }{ */ | 63 | #elif defined(LUA_USE_WINDOWS) /* }{ */ |
64 | 64 | ||
65 | #define l_popen(L,c,m) (_popen(c,m)) | 65 | #define l_popen(L,c,m) (_popen(c,m)) |
66 | #define l_pclose(L,file) (_pclose(file)) | 66 | #define l_pclose(L,file) (_pclose(file)) |
@@ -112,7 +112,7 @@ | |||
112 | #define l_ftell(f) ftello(f) | 112 | #define l_ftell(f) ftello(f) |
113 | #define l_seeknum off_t | 113 | #define l_seeknum off_t |
114 | 114 | ||
115 | #elif defined(LUA_WIN) && !defined(_CRTIMP_TYPEINFO) \ | 115 | #elif defined(LUA_USE_WINDOWS) && !defined(_CRTIMP_TYPEINFO) \ |
116 | && defined(_MSC_VER) && (_MSC_VER >= 1400) /* }{ */ | 116 | && defined(_MSC_VER) && (_MSC_VER >= 1400) /* }{ */ |
117 | 117 | ||
118 | /* Windows (but not DDK) and Visual C++ 2005 or higher */ | 118 | /* Windows (but not DDK) and Visual C++ 2005 or higher */ |