diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-01-17 13:27:28 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-01-17 13:27:28 -0200 |
commit | 9a5bab82ff6f11773866f9f7c38f69c98b19d2e8 (patch) | |
tree | 7ece18197a96e2ed3b156c1fb99440124becf95a /lua.c | |
parent | 32fd039bb563b24cbe4621dcc9b3cc18d9e078b0 (diff) | |
download | lua-9a5bab82ff6f11773866f9f7c38f69c98b19d2e8.tar.gz lua-9a5bab82ff6f11773866f9f7c38f69c98b19d2e8.tar.bz2 lua-9a5bab82ff6f11773866f9f7c38f69c98b19d2e8.zip |
use the more modern _POSIX_C_SOURCE instead of older _POSIX_SOURCE
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.112 2002/12/04 17:28:27 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.113 2002/12/04 17:38:31 roberto Exp roberto $ |
3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -26,7 +26,7 @@ | |||
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | 28 | ||
29 | #ifdef _POSIX_SOURCE | 29 | #ifdef _POSIX_C_SOURCE |
30 | #include <unistd.h> | 30 | #include <unistd.h> |
31 | #else | 31 | #else |
32 | static int isatty (int x) { return x==0; } /* assume stdin is a tty */ | 32 | static int isatty (int x) { return x==0; } /* assume stdin is a tty */ |