diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-18 10:17:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-18 10:17:10 -0300 |
commit | a1d0e1a11adf5fac8f30cc3cf1da6162174a5ce9 (patch) | |
tree | d0dad82c4c237c91eef985542f0d1abb7730a704 /luaconf.h | |
parent | 897573983977e2bdfe405bd056abccc1db1e0f8d (diff) | |
download | lua-a1d0e1a11adf5fac8f30cc3cf1da6162174a5ce9.tar.gz lua-a1d0e1a11adf5fac8f30cc3cf1da6162174a5ce9.tar.bz2 lua-a1d0e1a11adf5fac8f30cc3cf1da6162174a5ce9.zip |
'log10' is deprecated now
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.100 2008/07/18 19:58:10 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.101 2009/02/07 12:23:15 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 | */ |
@@ -331,6 +331,19 @@ | |||
331 | 331 | ||
332 | 332 | ||
333 | /* | 333 | /* |
334 | ** {================================================================== | ||
335 | ** Compatibility with previous versions | ||
336 | ** =================================================================== | ||
337 | */ | ||
338 | |||
339 | /* | ||
340 | @@ LUA_COMPAT_LOG10 defines the function 'log10' in the math library. | ||
341 | ** CHANGE it (undefine it) if as soon as you rewrite all calls 'log10(x)' | ||
342 | ** as 'log(x, 10)' | ||
343 | */ | ||
344 | #define LUA_COMPAT_LOG10 | ||
345 | |||
346 | /* | ||
334 | @@ LUA_COMPAT_API includes some macros and functions that supply some | 347 | @@ LUA_COMPAT_API includes some macros and functions that supply some |
335 | @* compatibility with previous versions. | 348 | @* compatibility with previous versions. |
336 | ** CHANGE it (undefine it) if you do not need these compatibility facilities. | 349 | ** CHANGE it (undefine it) if you do not need these compatibility facilities. |
@@ -360,6 +373,8 @@ | |||
360 | */ | 373 | */ |
361 | #define LUA_COMPAT_DEBUGLIB | 374 | #define LUA_COMPAT_DEBUGLIB |
362 | 375 | ||
376 | /* }================================================================== */ | ||
377 | |||
363 | 378 | ||
364 | 379 | ||
365 | 380 | ||