summaryrefslogtreecommitdiffstats
path: root/chrome_elf
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2015-08-08 12:20:04 -0700
committerNico Weber <thakis@chromium.org>2015-08-08 19:21:46 +0000
commite33057019a84b903c6c12394500e4b3893d0f34e (patch)
treeab345daa9225253c98bd3fdf15ff2477085468d6 /chrome_elf
parent591b2b8df44a3afce25d6217cc879e26c46588d9 (diff)
downloadchromium_src-e33057019a84b903c6c12394500e4b3893d0f34e.zip
chromium_src-e33057019a84b903c6c12394500e4b3893d0f34e.tar.gz
chromium_src-e33057019a84b903c6c12394500e4b3893d0f34e.tar.bz2
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}
Diffstat (limited to 'chrome_elf')
-rw-r--r--chrome_elf/thunk_getter.cc2
1 files changed, 2 insertions, 0 deletions
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: