Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2331)

Unified Diff: base/bind_internal_win.h.pump

Issue 6463013: Add support for base::Closure in the MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: rebased Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/bind_internal_win.h ('k') | base/message_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/bind_internal_win.h.pump
diff --git a/base/bind_internal_win.h.pump b/base/bind_internal_win.h.pump
index 06ceaca1917f608a98568776fa98ec959f335bf1..d293fccec093e6ff4ddde63b8d2156d4cc7f2108 100644
--- a/base/bind_internal_win.h.pump
+++ b/base/bind_internal_win.h.pump
@@ -18,6 +18,11 @@ $var MAX_ARITY = 6
#define BASE_BIND_INTERNAL_WIN_H_
#pragma once
+// In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all
+// the same as __cdecl which would turn the following specializations into
+// multiple definitions.
+#if !defined(ARCH_CPU_X86_64)
+
namespace base {
namespace internal {
@@ -69,4 +74,6 @@ $for ARG [[
} // namespace internal
} // namespace base
+#endif // !defined(ARCH_CPU_X86_64)
+
#endif // BASE_BIND_INTERNAL_WIN_H_
« no previous file with comments | « base/bind_internal_win.h ('k') | base/message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698