mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 12:25:12 +03:00
Companion compilation error on VC++
This commit is contained in:
parent
330234df01
commit
7e65fe82c3
1 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; };
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(ltable_c) && !defined(luai_hashnum)
|
//#if defined(ltable_c) && !defined(luai_hashnum)
|
||||||
|
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -285,7 +285,7 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; };
|
||||||
n = l_mathop(frexp)(n, &e) * (lua_Number)(INT_MAX - DBL_MAX_EXP); \
|
n = l_mathop(frexp)(n, &e) * (lua_Number)(INT_MAX - DBL_MAX_EXP); \
|
||||||
lua_number2int(i, n); i += e; }
|
lua_number2int(i, n); i += e; }
|
||||||
|
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue