From e33057019a84b903c6c12394500e4b3893d0f34e Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 8 Aug 2015 12:20:04 -0700 Subject: clang/win: Try to fix build after https://codereview.chromium.org/1261953003. Apparently the trybots don't build all targets :-/ BUG=505316 TBR=brettw,robertshield Review URL: https://codereview.chromium.org/1284523002. Cr-Commit-Position: refs/heads/master@{#342537} --- chrome_elf/thunk_getter.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome_elf') diff --git a/chrome_elf/thunk_getter.cc b/chrome_elf/thunk_getter.cc index 649fb0c..c249762 100644 --- a/chrome_elf/thunk_getter.cc +++ b/chrome_elf/thunk_getter.cc @@ -24,6 +24,7 @@ enum Version { VERSION_WIN_LAST, // Indicates error condition. }; +#if !defined(_WIN64) // Whether a process is running under WOW64 (the wrapper that allows 32-bit // processes to run on 64-bit versions of Windows). This will return // WOW64_DISABLED for both "32-bit Chrome on 32-bit Windows" and "64-bit @@ -42,6 +43,7 @@ WOW64Status GetWOW64StatusForCurrentProcess() { return WOW64_UNKNOWN; return is_wow64 ? WOW64_ENABLED : WOW64_DISABLED; } +#endif // !defined(_WIN64) class OSInfo { public: -- cgit v1.1