2
0
Эх сурвалжийг харах

Core: Include `intrin.h` for MSVC

Thaddeus Crews 5 сар өмнө
parent
commit
8f16b86d7e

+ 4 - 0
core/templates/hashfuncs.h

@@ -55,6 +55,10 @@
 #include "core/templates/rid.h"
 #include "core/templates/rid.h"
 #include "core/typedefs.h"
 #include "core/typedefs.h"
 
 
+#ifdef _MSC_VER
+#include <intrin.h> // Needed for `__umulh` below.
+#endif
+
 /**
 /**
  * Hashing functions
  * Hashing functions
  */
  */