'log10' is deprecated now
This commit is contained in:
17
luaconf.h
17
luaconf.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: luaconf.h,v 1.100 2008/07/18 19:58:10 roberto Exp roberto $
|
||||
** $Id: luaconf.h,v 1.101 2009/02/07 12:23:15 roberto Exp roberto $
|
||||
** Configuration file for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -330,6 +330,19 @@
|
||||
|
||||
|
||||
|
||||
/*
|
||||
** {==================================================================
|
||||
** Compatibility with previous versions
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ LUA_COMPAT_LOG10 defines the function 'log10' in the math library.
|
||||
** CHANGE it (undefine it) if as soon as you rewrite all calls 'log10(x)'
|
||||
** as 'log(x, 10)'
|
||||
*/
|
||||
#define LUA_COMPAT_LOG10
|
||||
|
||||
/*
|
||||
@@ LUA_COMPAT_API includes some macros and functions that supply some
|
||||
@* compatibility with previous versions.
|
||||
@@ -360,6 +373,8 @@
|
||||
*/
|
||||
#define LUA_COMPAT_DEBUGLIB
|
||||
|
||||
/* }================================================================== */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user