aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.c b/lua.c
index 5838ef72..99aabfac 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.217 2014/10/20 22:21:05 roberto Exp roberto $ 2** $Id: lua.c,v 1.218 2014/10/29 16:11:17 roberto Exp roberto $
3** Lua stand-alone interpreter 3** Lua stand-alone interpreter
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -50,7 +50,7 @@
50#include <unistd.h> 50#include <unistd.h>
51#define lua_stdin_is_tty() isatty(0) 51#define lua_stdin_is_tty() isatty(0)
52 52
53#elif defined(LUA_WIN) /* }{ */ 53#elif defined(LUA_USE_WINDOWS) /* }{ */
54 54
55#include <io.h> 55#include <io.h>
56#define lua_stdin_is_tty() _isatty(_fileno(stdin)) 56#define lua_stdin_is_tty() _isatty(_fileno(stdin))