diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-07-06 17:20:35 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-07-06 17:20:35 -0300 |
commit | 9a3c51cff1b925e125197e89a4c867c1d99ad1ba (patch) | |
tree | fc19cda087d09ce3ac1390a8e36e582180a42825 /lua.c | |
parent | 6336d2f9e16613c85a38a5f422041a730bff0d80 (diff) | |
download | lua-9a3c51cff1b925e125197e89a4c867c1d99ad1ba.tar.gz lua-9a3c51cff1b925e125197e89a4c867c1d99ad1ba.tar.bz2 lua-9a3c51cff1b925e125197e89a4c867c1d99ad1ba.zip |
new name for POSIX flag (this one turns on some posix stuff in standard
header files).
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Linguagem para Usuarios de Aplicacao | 3 | ** Linguagem para Usuarios de Aplicacao |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_lua="$Id: lua.c,v 1.10 1996/05/03 19:20:17 roberto Exp roberto $"; | 6 | char *rcs_lua="$Id: lua.c,v 1.12 1996/07/05 20:55:43 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #include <string.h> | 9 | #include <string.h> |
@@ -12,7 +12,7 @@ char *rcs_lua="$Id: lua.c,v 1.10 1996/05/03 19:20:17 roberto Exp roberto $"; | |||
12 | #include "lualib.h" | 12 | #include "lualib.h" |
13 | 13 | ||
14 | 14 | ||
15 | #ifdef POSIX | 15 | #ifdef _POSIX_SOURCE |
16 | #include <unistd.h> | 16 | #include <unistd.h> |
17 | #else | 17 | #else |
18 | #define isatty(x) (x==0) /* assume stdin is a tty */ | 18 | #define isatty(x) (x==0) /* assume stdin is a tty */ |