From b4cd38ba6c148cf7db5deae6208b660c3417cac9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Apr 2004 17:13:38 -0300 Subject: new scheme for configuration through `luaconf.h' --- liolib.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index a2e22c4d..11ddf8f4 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 2.48 2003/10/10 12:57:55 roberto Exp roberto $ +** $Id: liolib.c,v 2.49 2003/10/10 13:29:28 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -13,6 +13,7 @@ #include #define liolib_c +#define LUA_LIB #include "lua.h" @@ -21,31 +22,6 @@ -/* -** by default, gcc does not get `tmpname' -*/ -#ifndef USE_TMPNAME -#ifdef __GNUC__ -#define USE_TMPNAME 0 -#else -#define USE_TMPNAME 1 -#endif -#endif - - -/* -** by default, posix systems get `popen' -*/ -#ifndef USE_POPEN -#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 2 -#define USE_POPEN 1 -#else -#define USE_POPEN 0 -#endif -#endif - - - /* ** {====================================================== -- cgit v1.2.3-55-g6feb