aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h42
1 files changed, 1 insertions, 41 deletions
diff --git a/luaconf.h b/luaconf.h
index 070a25d5..6efab22a 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.122 2009/12/17 12:26:09 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.123 2009/12/17 12:50:20 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -461,46 +461,6 @@ union luai_Cast { double l_d; long l_l; };
461 461
462/* }================================================================== */ 462/* }================================================================== */
463 463
464
465/*
466@@ LUA_STRFTIMEOPTIONS is the list of valid conversion specifiers
467@* for the 'strftime' function;
468** CHANGE it if you want to use non-ansi options specific to your system.
469*/
470#if !defined(LUA_USE_POSIX)
471#define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYz%", ""
472
473#else
474#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%", "", \
475 "E", "cCxXyY", \
476 "O", "deHImMSuUVwWy"
477#endif
478
479
480
481/*
482@@ lua_popen spawns a new process connected to the current one through
483@* the file streams.
484** CHANGE it if you have a way to implement it in your system.
485*/
486#if defined(LUA_USE_POPEN)
487
488#define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m))
489#define lua_pclose(L,file) ((void)L, pclose(file))
490
491#elif defined(LUA_WIN)
492
493#define lua_popen(L,c,m) ((void)L, _popen(c,m))
494#define lua_pclose(L,file) ((void)L, _pclose(file))
495
496#else
497
498#define lua_popen(L,c,m) ((void)((void)c, m), \
499 luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
500#define lua_pclose(L,file) ((void)((void)L, file), -1)
501
502#endif
503
504/* 464/*
505@@ LUA_DL_* define which dynamic-library system Lua should use. 465@@ LUA_DL_* define which dynamic-library system Lua should use.
506** CHANGE here if Lua has problems choosing the appropriate 466** CHANGE here if Lua has problems choosing the appropriate