diff --git a/luaconf.h b/luaconf.h index a848f2e0..4d7ab245 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.103 2009/02/20 13:50:27 roberto Exp roberto $ +** $Id: luaconf.h,v 1.104 2009/03/26 12:57:01 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -94,20 +94,20 @@ #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_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \ + LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua;" ".\\?.lua" #define LUA_CPATH_DEFAULT \ - ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" + LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll;" ".\\?.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_PATH_DEFAULT \ - "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ - LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua" + LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ + LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua" #define LUA_CPATH_DEFAULT \ - "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" + LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so" #endif @@ -221,9 +221,9 @@ /* -@@ luai_writestring defines how 'print' prints its results. +@@ luai_writestring defines how 'print' prints its results. ** CHANGE it if your system does not have a useful stdout. -*/ +*/ #define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout)