Companion compilation error on VC++
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user