Index: remoting/host/win/daemon_process_entry_point.cc |
diff --git a/remoting/host/win/daemon_process_entry_point.cc b/remoting/host/win/daemon_process_entry_point.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9367a8b33f3f9b4f9c314af602adecdd0a87c2b7 |
--- /dev/null |
+++ b/remoting/host/win/daemon_process_entry_point.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/win/daemon_process_main.h" |
+ |
+// The entry point of the daemon process binary. In order to be really small |
+// the app doesn't link against the CRT. |
+void DaemonProcessEntryPoint() { |
+ int exit_code = remoting::DaemonProcessMain(); |
+ ExitProcess(exit_code); |
+} |