From b3b8dfaaea2dba7e7b4b898a5f767a80f36319f1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 17 Dec 2009 11:08:51 -0200 Subject: yet more options moved from luaconf.h into internal files --- luaconf.h | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 070a25d5..6efab22a 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.122 2009/12/17 12:26:09 roberto Exp roberto $ +** $Id: luaconf.h,v 1.123 2009/12/17 12:50:20 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -461,46 +461,6 @@ union luai_Cast { double l_d; long l_l; }; /* }================================================================== */ - -/* -@@ LUA_STRFTIMEOPTIONS is the list of valid conversion specifiers -@* for the 'strftime' function; -** CHANGE it if you want to use non-ansi options specific to your system. -*/ -#if !defined(LUA_USE_POSIX) -#define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYz%", "" - -#else -#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%", "", \ - "E", "cCxXyY", \ - "O", "deHImMSuUVwWy" -#endif - - - -/* -@@ lua_popen spawns a new process connected to the current one through -@* the file streams. -** CHANGE it if you have a way to implement it in your system. -*/ -#if defined(LUA_USE_POPEN) - -#define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m)) -#define lua_pclose(L,file) ((void)L, pclose(file)) - -#elif defined(LUA_WIN) - -#define lua_popen(L,c,m) ((void)L, _popen(c,m)) -#define lua_pclose(L,file) ((void)L, _pclose(file)) - -#else - -#define lua_popen(L,c,m) ((void)((void)c, m), \ - luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0) -#define lua_pclose(L,file) ((void)((void)L, file), -1) - -#endif - /* @@ LUA_DL_* define which dynamic-library system Lua should use. ** CHANGE here if Lua has problems choosing the appropriate -- cgit v1.2.3-55-g6feb