diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-16 10:50:48 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-16 10:50:48 -0200 |
commit | 951897c09319ae5474a4b86bb7d615136577caa0 (patch) | |
tree | da2637ae06ad4e8d13a012c40be00a8d38312137 /lua.c | |
parent | a34677e4f409b291308d8fe37dee135fe42fe2e1 (diff) | |
download | lua-github-951897c09319ae5474a4b86bb7d615136577caa0.tar.gz |
last warnings in Visual C
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |