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 040aa72f..ac7d05e2 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.24 1999/11/09 17:59:35 roberto Exp roberto $ 2** $Id: lua.c,v 1.25 1999/11/12 13:54:44 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*/
@@ -18,7 +18,7 @@
18#ifdef _POSIX_SOURCE 18#ifdef _POSIX_SOURCE
19#include <unistd.h> 19#include <unistd.h>
20#else 20#else
21#define isatty(x) (x==0) /* assume stdin is a tty */ 21static int isatty (int x) { return x==0; } /* assume stdin is a tty */
22#endif 22#endif
23 23
24 24