Build: MSVC 2017 compat (w/o xs code - Perl unit tests)

This commit is contained in:
Vojtech Kral 2019-01-29 15:48:30 +01:00
parent ed71f2ccd7
commit a99c823401
3 changed files with 25 additions and 5 deletions

View file

@ -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