diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-07 11:03:18 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-07 11:03:18 +0000 |
commit | a9afa36cf5ce6412857e79a8659feaf2a169e0d8 (patch) | |
tree | 3216ac88dbf3217d1a227eefc293f1610418e85e /package/lua/patches-host | |
parent | cce8bf720cb2561959f34ef6f1d7de429b307140 (diff) | |
download | upstream-a9afa36cf5ce6412857e79a8659feaf2a169e0d8.tar.gz upstream-a9afa36cf5ce6412857e79a8659feaf2a169e0d8.tar.bz2 upstream-a9afa36cf5ce6412857e79a8659feaf2a169e0d8.zip |
[package] lua: switch to double precision for floats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23284 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua/patches-host')
-rw-r--r-- | package/lua/patches-host/011-lnum-use-double.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lua/patches-host/011-lnum-use-double.patch b/package/lua/patches-host/011-lnum-use-double.patch new file mode 100644 index 0000000000..14c720bf19 --- /dev/null +++ b/package/lua/patches-host/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 |