Skip to content

Commit 8bc4363

Browse files
committed
Fix non-Windows builds and win8 hosted builds
1 parent c0c3de7 commit 8bc4363

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Common/CommonDefines.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#include "Warnings.h"
1313
#include "ChakraCoreVersion.h"
1414

15-
#if !defined(_M_ARM)
15+
// CFG was never enabled for ARM32 and requires WIN10 SDK
16+
#if !defined(_M_ARM) && defined(_WIN32) && defined(NTDDI_WIN10)
1617
#define _CONTROL_FLOW_GUARD 1
1718
#endif
1819

0 commit comments

Comments
 (0)