| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <windows.h> | 5 #include <windows.h> |
| 6 | 6 |
| 7 extern "C" { | 7 extern "C" { |
| 8 | 8 |
| 9 // This entry point and file is used to work around circular dependencies | 9 // This entry point and file is used to work around circular dependencies |
| 10 // between the split DLLs. The CRT initialization will fail if done at attach | 10 // between the split DLLs. The CRT initialization will fail if done at attach |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // This function is needed for the linker to succeed. It seems to pick the | 32 // This function is needed for the linker to succeed. It seems to pick the |
| 33 // CRT lib based on the existence of "DllMain", and since we're renaming that, | 33 // CRT lib based on the existence of "DllMain", and since we're renaming that, |
| 34 // it instead chooses the one that links against "main". This function should | 34 // it instead chooses the one that links against "main". This function should |
| 35 // never be called. | 35 // never be called. |
| 36 int main() { | 36 int main() { |
| 37 __debugbreak(); | 37 __debugbreak(); |
| 38 } | 38 } |
| 39 | 39 |
| 40 } | 40 } |
| OLD | NEW |