openwrtv4/package/lua/patches/011-lnum-use-double.patch
Jo-Philipp Wich 59cf671160 lua: switch to double precision for floats
SVN-Revision: 23284
2010-10-07 11:03:18 +00:00

11 lines
324 B
Diff

--- a/src/lnum_config.h
+++ b/src/lnum_config.h
@@ -11,7 +11,7 @@
** Default number modes
*/
#if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE)
-# define LNUM_FLOAT
+# define LNUM_DOUBLE
#endif
#if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64)
# define LNUM_INT32