commit 9a3c51cff1b925e125197e89a4c867c1d99ad1ba
parent 6336d2f9e16613c85a38a5f422041a730bff0d80
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Sat, 6 Jul 1996 17:20:15 -0300
new name for POSIX flag (this one turns on some posix stuff in standard
header files).
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lua.c b/lua.c
@@ -3,7 +3,7 @@
** Linguagem para Usuarios de Aplicacao
*/
-char *rcs_lua="$Id: lua.c,v 1.10 1996/05/03 19:20:17 roberto Exp roberto $";
+char *rcs_lua="$Id: lua.c,v 1.12 1996/07/05 20:55:43 roberto Exp roberto $";
#include <stdio.h>
#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 $";
#include "lualib.h"
-#ifdef POSIX
+#ifdef _POSIX_SOURCE
#include <unistd.h>
#else
#define isatty(x) (x==0) /* assume stdin is a tty */