From 9a5bab82ff6f11773866f9f7c38f69c98b19d2e8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 17 Jan 2003 13:27:28 -0200 Subject: use the more modern _POSIX_C_SOURCE instead of older _POSIX_SOURCE --- lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.c') diff --git a/lua.c b/lua.c index 1f303d20..8ae2607a 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.112 2002/12/04 17:28:27 roberto Exp roberto $ +** $Id: lua.c,v 1.113 2002/12/04 17:38:31 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -26,7 +26,7 @@ #endif -#ifdef _POSIX_SOURCE +#ifdef _POSIX_C_SOURCE #include #else static int isatty (int x) { return x==0; } /* assume stdin is a tty */ -- cgit v1.2.3-55-g6feb