Index: util/win/process_info.cc |
diff --git a/util/win/process_info.cc b/util/win/process_info.cc |
index cdc27b1e27b5dd97107749f7487c1f32925fce15..d5316590aab76de17a6b710975be04138fbf4c25 100644 |
--- a/util/win/process_info.cc |
+++ b/util/win/process_info.cc |
@@ -514,14 +514,14 @@ bool ProcessInfo::Initialize(HANDLE process) { |
system_info.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64; |
} |
-#if ARCH_CPU_32_BITS |
+#if defined(ARCH_CPU_32_BITS) |
if (is_64_bit_) { |
LOG(ERROR) << "Reading x64 process from x86 process not supported"; |
return false; |
} |
-#endif |
+#endif // ARCH_CPU_32_BITS |
-#if ARCH_CPU_64_BITS |
+#if defined(ARCH_CPU_64_BITS) |
bool result = GetProcessBasicInformation<process_types::internal::Traits64>( |
process, is_wow64_, this, &peb_address_, &peb_size_); |
#else |