summaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-16 10:50:48 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-16 10:50:48 -0200
commit951897c09319ae5474a4b86bb7d615136577caa0 (patch)
treeda2637ae06ad4e8d13a012c40be00a8d38312137 /lua.c
parenta34677e4f409b291308d8fe37dee135fe42fe2e1 (diff)
downloadlua-github-951897c09319ae5474a4b86bb7d615136577caa0.tar.gz
last warnings in Visual C
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 @@
/*
-** $Id: lua.c,v 1.24 1999/11/09 17:59:35 roberto Exp roberto $
+** $Id: lua.c,v 1.25 1999/11/12 13:54:44 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@@ -18,7 +18,7 @@
#ifdef _POSIX_SOURCE
#include <unistd.h>
#else
-#define isatty(x) (x==0) /* assume stdin is a tty */
+static int isatty (int x) { return x==0; } /* assume stdin is a tty */
#endif