mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-23 22:17:11 +02:00
Update Math.cpp
This commit is contained in:
1 parent
533b058e58
commit
602f82b26e
1 file changed
+1
-1
@@ -15,7 +15,7 @@ static SQInteger SqDiv(HSQUIRRELVM vm)
|
||||
{
|
||||
// The return type of the function
|
||||
#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
|
||||
typedef std::div_t DivT;
|
||||
#endif // _SQ64
|
||||
|
||||
Reference in new issue
Block a user