diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-07 10:21:31 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-07 10:21:31 -0300 |
commit | 7c3857cdeda673d011313501492a61efa1462d46 (patch) | |
tree | 7f86515e303e9eeb9c6d00fba6682fc15e299e2f | |
parent | 8ce6f0b4189955dc462824444b67717e36c17344 (diff) | |
download | lua-7c3857cdeda673d011313501492a61efa1462d46.tar.gz lua-7c3857cdeda673d011313501492a61efa1462d46.tar.bz2 lua-7c3857cdeda673d011313501492a61efa1462d46.zip |
comments
-rw-r--r-- | lua.c | 5 | ||||
-rw-r--r-- | lvm.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.115 2003/01/29 10:27:07 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.116 2003/01/29 13:23:45 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 | */ |
@@ -26,6 +26,9 @@ | |||
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | 28 | ||
29 | /* | ||
30 | ** definition of `isatty' | ||
31 | */ | ||
29 | #ifdef _POSIX_C_SOURCE | 32 | #ifdef _POSIX_C_SOURCE |
30 | #include <unistd.h> | 33 | #include <unistd.h> |
31 | #else | 34 | #else |
@@ -1,15 +1,17 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.279 2003/02/28 19:45:15 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.280 2003/03/06 19:37:42 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
6 | 6 | ||
7 | 7 | ||
8 | #include <stdarg.h> | 8 | #include <stdarg.h> |
9 | #include <stdio.h> | ||
10 | #include <stdlib.h> | 9 | #include <stdlib.h> |
11 | #include <string.h> | 10 | #include <string.h> |
12 | 11 | ||
12 | /* needed only when `lua_number2str' uses `sprintf' */ | ||
13 | #include <stdio.h> | ||
14 | |||
13 | #define lvm_c | 15 | #define lvm_c |
14 | 16 | ||
15 | #include "lua.h" | 17 | #include "lua.h" |