lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 7c3857cdeda673d011313501492a61efa1462d46
parent 8ce6f0b4189955dc462824444b67717e36c17344
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  7 Mar 2003 10:21:09 -0300

comments

Diffstat:
Mlua.c | 5++++-
Mlvm.c | 6++++--
2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/lua.c b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.115 2003/01/29 10:27:07 roberto Exp roberto $ +** $Id: lua.c,v 1.116 2003/01/29 13:23:45 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -26,6 +26,9 @@ #endif +/* +** definition of `isatty' +*/ #ifdef _POSIX_C_SOURCE #include <unistd.h> #else diff --git a/lvm.c b/lvm.c @@ -1,15 +1,17 @@ /* -** $Id: lvm.c,v 1.279 2003/02/28 19:45:15 roberto Exp roberto $ +** $Id: lvm.c,v 1.280 2003/03/06 19:37:42 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ #include <stdarg.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> +/* needed only when `lua_number2str' uses `sprintf' */ +#include <stdio.h> + #define lvm_c #include "lua.h"