Skip to content

Commit 993e5a2

Browse files
committed
Add missing MSVC include in hashfuncs.
1 parent f3b5a47 commit 993e5a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/godot_cpp/templates/hashfuncs.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
#ifndef HASHFUNCS_HPP
3232
#define HASHFUNCS_HPP
3333

34+
// Needed for fastmod.
35+
#if defined(_MSC_VER)
36+
#include <intrin.h>
37+
#endif
38+
3439
#include <godot_cpp/core/math.hpp>
3540
#include <godot_cpp/core/object.hpp>
3641
#include <godot_cpp/variant/aabb.hpp>

0 commit comments

Comments
 (0)