summaryrefslogtreecommitdiff
path: root/package/lua/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-07 11:03:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-07 11:03:18 +0000
commit59cf6711609e14d7d0adb4fd729e3bfa3b13bda6 (patch)
tree8501b4ceea75f566e5eb5461e0e0a66ff1ab4778 /package/lua/patches
parentbe844a77830b89815227eec5eaf14d716fd81815 (diff)
downloadmtk-20170518-59cf6711609e14d7d0adb4fd729e3bfa3b13bda6.zip
mtk-20170518-59cf6711609e14d7d0adb4fd729e3bfa3b13bda6.tar.gz
mtk-20170518-59cf6711609e14d7d0adb4fd729e3bfa3b13bda6.tar.bz2
lua: switch to double precision for floats
SVN-Revision: 23284
Diffstat (limited to 'package/lua/patches')
-rw-r--r--package/lua/patches/011-lnum-use-double.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lua/patches/011-lnum-use-double.patch b/package/lua/patches/011-lnum-use-double.patch
new file mode 100644
index 0000000..14c720b
--- /dev/null
+++ b/package/lua/patches/011-lnum-use-double.patch
@@ -0,0 +1,11 @@
+--- 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