Skip to content

Commit ca58245

Browse files
committed
[MERGE #6043 @LouisLaf] Fix VS2015 build
Merge pull request #6043 from LouisLaf:cfg_2015
2 parents e55e636 + a2bb7a9 commit ca58245

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/Runtime/Base/ThreadContextInfo.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
#endif
1717

1818
#if defined(_UCRT) && _CONTROL_FLOW_GUARD
19-
#include <cfguard.h>
19+
# if _MSC_VER >= 1913
20+
# include <cfguard.h>
21+
# else
22+
extern "C" void __fastcall _guard_check_icall(_In_ uintptr_t _Target);
23+
# endif
2024
#endif
2125

2226
ThreadContextInfo::ThreadContextInfo() :

0 commit comments

Comments
 (0)