Index: sandbox/win/src/process_mitigations_test.cc |
diff --git a/sandbox/win/src/process_mitigations_test.cc b/sandbox/win/src/process_mitigations_test.cc |
index 78f730bc385bfda75dd9e49a549e34979de535b8..080d8eca3fcbd49752b9b3318e43527cc65e0add 100644 |
--- a/sandbox/win/src/process_mitigations_test.cc |
+++ b/sandbox/win/src/process_mitigations_test.cc |
@@ -30,6 +30,7 @@ typedef BOOL (WINAPI *GetProcessMitigationPolicyFunction)( |
GetProcessMitigationPolicyFunction get_process_mitigation_policy; |
+#if !defined(_WIN64) |
bool CheckWin8DepPolicy() { |
PROCESS_MITIGATION_DEP_POLICY policy = {}; |
if (!get_process_mitigation_policy(::GetCurrentProcess(), ProcessDEPPolicy, |
@@ -38,6 +39,7 @@ bool CheckWin8DepPolicy() { |
} |
return policy.Enable && policy.Permanent; |
} |
+#endif // !defined(_WIN64) |
#if defined(NDEBUG) |
bool CheckWin8AslrPolicy() { |