diff options
-rw-r--r-- | luaconf.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.103 2009/02/20 13:50:27 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.104 2009/03/26 12:57:01 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 | */ |
@@ -94,20 +94,20 @@ | |||
94 | #define LUA_LDIR "!\\lua\\" | 94 | #define LUA_LDIR "!\\lua\\" |
95 | #define LUA_CDIR "!\\" | 95 | #define LUA_CDIR "!\\" |
96 | #define LUA_PATH_DEFAULT \ | 96 | #define LUA_PATH_DEFAULT \ |
97 | ".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \ | 97 | LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \ |
98 | LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua" | 98 | LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua;" ".\\?.lua" |
99 | #define LUA_CPATH_DEFAULT \ | 99 | #define LUA_CPATH_DEFAULT \ |
100 | ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" | 100 | LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll;" ".\\?.dll" |
101 | 101 | ||
102 | #else | 102 | #else |
103 | #define LUA_ROOT "/usr/local/" | 103 | #define LUA_ROOT "/usr/local/" |
104 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" | 104 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" |
105 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" | 105 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" |
106 | #define LUA_PATH_DEFAULT \ | 106 | #define LUA_PATH_DEFAULT \ |
107 | "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ | 107 | LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ |
108 | LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua" | 108 | LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua" |
109 | #define LUA_CPATH_DEFAULT \ | 109 | #define LUA_CPATH_DEFAULT \ |
110 | "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" | 110 | LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so" |
111 | #endif | 111 | #endif |
112 | 112 | ||
113 | 113 | ||
@@ -221,9 +221,9 @@ | |||
221 | 221 | ||
222 | 222 | ||
223 | /* | 223 | /* |
224 | @@ luai_writestring defines how 'print' prints its results. | 224 | @@ luai_writestring defines how 'print' prints its results. |
225 | ** CHANGE it if your system does not have a useful stdout. | 225 | ** CHANGE it if your system does not have a useful stdout. |
226 | */ | 226 | */ |
227 | #define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout) | 227 | #define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout) |
228 | 228 | ||
229 | 229 | ||