lua: switch to double precision for floats
[openwrt/openwrt.git] / package / lua / patches / 011-lnum-use-double.patch
1 --- a/src/lnum_config.h
2 +++ b/src/lnum_config.h
3 @@ -11,7 +11,7 @@
4 ** Default number modes
5 */
6 #if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE)
7 -# define LNUM_FLOAT
8 +# define LNUM_DOUBLE
9 #endif
10 #if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64)
11 # define LNUM_INT32