mirror of
https://github.com/lua/lua.git
synced 2025-01-14 05:43:00 +08:00
small corrections
This commit is contained in:
parent
2bcbd3c725
commit
669f6306be
24
luaconf.h
24
luaconf.h
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: luaconf.h,v 1.62 2005/08/25 15:38:53 roberto Exp roberto $
|
||||
** $Id: luaconf.h,v 1.63 2005/09/02 19:53:25 roberto Exp roberto $
|
||||
** Configuration file for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -45,23 +45,23 @@
|
||||
** In Windows, any exclamation mark ('!') in the path is replaced by the
|
||||
** path of the directory of the executable file of the current process.
|
||||
*/
|
||||
#define LUA_LDIR "!\\lua"
|
||||
#define LUA_CDIR "!\\dll"
|
||||
#define LUA_LDIR "!\\lua\\"
|
||||
#define LUA_CDIR "!\\"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
"?.lua;" LUA_LDIR"\\?.lua;" LUA_LDIR"\\?\\init.lua;" \
|
||||
LUA_CDIR"\\?.lua;" LUA_CDIR"\\?\\init.lua"
|
||||
".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \
|
||||
LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua"
|
||||
#define LUA_CPATH_DEFAULT \
|
||||
"?.dll;" LUA_CDIR"\\?.dll;" LUA_CDIR"\\loadall.dll"
|
||||
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
||||
|
||||
#else
|
||||
#define LUA_ROOT "/usr/local"
|
||||
#define LUA_LDIR LUA_ROOT "/share/lua/5.1"
|
||||
#define LUA_CDIR LUA_ROOT "/lib/lua/5.1"
|
||||
#define LUA_ROOT "/usr/local/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
"./?.lua;" LUA_LDIR"/?.lua;" LUA_LDIR"/?/init.lua;" \
|
||||
LUA_CDIR"/?.lua;" LUA_CDIR"/?/init.lua"
|
||||
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
||||
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
|
||||
#define LUA_CPATH_DEFAULT \
|
||||
"./?.so;" LUA_CDIR"/?.so;" LUA_CDIR"/loadall.so"
|
||||
"./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user