mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update Math.cpp
This commit is contained in:
parent
533b058e58
commit
602f82b26e
@ -15,7 +15,7 @@ static SQInteger SqDiv(HSQUIRRELVM vm)
|
|||||||
{
|
{
|
||||||
// The return type of the function
|
// The return type of the function
|
||||||
#ifdef _SQ64
|
#ifdef _SQ64
|
||||||
typedef std::lldiv_t DivT;
|
typedef typename std::conditional< std::is_same< SQInteger, signed long int >::value, std::ldiv_t, std::lldiv_t >::type DivT;
|
||||||
#else
|
#else
|
||||||
typedef std::div_t DivT;
|
typedef std::div_t DivT;
|
||||||
#endif // _SQ64
|
#endif // _SQ64
|
||||||
|
Loading…
Reference in New Issue
Block a user