commit | 8bc4363ab5626fbf9e1d4c94643fb39f43897fe2 | [log] [tgz] |
---|---|---|
author | Louis Lafreniere <louisl@microsoft.com> | Thu Dec 06 22:49:17 2018 |
committer | Louis Lafreniere <louisl@microsoft.com> | Thu Feb 21 00:30:24 2019 |
tree | 36e47fc8bfc4252330eb7729237dd5d451045b8c | |
parent | c0c3de7acdc167ca93b689f7552a5a0fe4bc8be2 [diff] |
Fix non-Windows builds and win8 hosted builds
diff --git a/lib/Common/CommonDefines.h b/lib/Common/CommonDefines.h index 0594d84..1c8956b 100644 --- a/lib/Common/CommonDefines.h +++ b/lib/Common/CommonDefines.h
@@ -12,7 +12,8 @@ #include "Warnings.h" #include "ChakraCoreVersion.h" -#if !defined(_M_ARM) +// CFG was never enabled for ARM32 and requires WIN10 SDK +#if !defined(_M_ARM) && defined(_WIN32) && defined(NTDDI_WIN10) #define _CONTROL_FLOW_GUARD 1 #endif