mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Build: MSVC 2017 compat (w/o xs code - Perl unit tests)
This commit is contained in:
parent
ed71f2ccd7
commit
a99c823401
3 changed files with 25 additions and 5 deletions
|
@ -53,6 +53,11 @@
|
|||
#define HAS_INTRINSIC_128_TYPE
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && defined(_WIN64)
|
||||
#include <intrin.h>
|
||||
#pragma intrinsic(_mul128)
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Int128 class (enables safe math on signed 64bit integers)
|
||||
// eg Int128 val1((int64_t)9223372036854775807); //ie 2^63 -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue