mirror of https://github.com/rusefi/lua.git
new name for POSIX flag (this one turns on some posix stuff in standard
header files).
This commit is contained in:
parent
6336d2f9e1
commit
9a3c51cff1
4
lua.c
4
lua.c
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue