projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: use float instead of double, reduces the gc data structure size by 4 byte =...
[openwrt/svn-archive/archive.git]
/
package
/
lua
/
patches
/
010-lua-5.1.3-lnum-full-260308.patch
diff --git
a/package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch
b/package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch
index 32c39f3b7c63c9954b90129fb0309c2e70903715..f8d8fc7f1bb90bfb3e1ad996c6909a5e73647213 100644
(file)
--- a/
package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch
+++ b/
package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch
@@
-1887,7
+1887,7
@@
Index: lua-5.1.4/src/lnum_config.h
+** Default number modes
+*/
+#if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE)
+** Default number modes
+*/
+#if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE)
-+# define LNUM_
DOUBLE
++# define LNUM_
FLOAT
+#endif
+#if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64)
+# define LNUM_INT32
+#endif
+#if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64)
+# define LNUM_INT32