Index: remoting/host/win/core.cc |
diff --git a/remoting/host/win/core.cc b/remoting/host/win/core.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2acbb0562f32ac32011478f479b093a3875da900 |
--- /dev/null |
+++ b/remoting/host/win/core.cc |
@@ -0,0 +1,14 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include <windows.h> |
+ |
+#include "remoting/host/remoting_me2me_host.h" |
+ |
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void* reserved) { |
+ if (reason == DLL_PROCESS_ATTACH) |
+ DisableThreadLibraryCalls(instance); |
+ |
+ return TRUE; |
+} |