new name for POSIX flag (this one turns on some posix stuff in standard

header files).
This commit is contained in:
Roberto Ierusalimschy 1996-07-06 17:20:35 -03:00
parent 6336d2f9e1
commit 9a3c51cff1
1 changed files with 2 additions and 2 deletions

4
lua.c
View File

@ -3,7 +3,7 @@
** Linguagem para Usuarios de Aplicacao ** 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 <stdio.h>
#include <string.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" #include "lualib.h"
#ifdef POSIX #ifdef _POSIX_SOURCE
#include <unistd.h> #include <unistd.h>
#else #else
#define isatty(x) (x==0) /* assume stdin is a tty */ #define isatty(x) (x==0) /* assume stdin is a tty */