| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project 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 // The GYP based build ends up defining USING_V8_SHARED when compiling this | 5 // The GYP based build ends up defining USING_V8_SHARED when compiling this |
| 6 // file. | 6 // file. |
| 7 #undef USING_V8_SHARED | 7 #undef USING_V8_SHARED |
| 8 #include "include/v8.h" | 8 #include "include/v8.h" |
| 9 | 9 |
| 10 #if V8_OS_WIN | 10 #if V8_OS_WIN |
| 11 #include "src/win32-headers.h" | 11 #include "src/base/win32-headers.h" |
| 12 | 12 |
| 13 extern "C" { | 13 extern "C" { |
| 14 BOOL WINAPI DllMain(HANDLE hinstDLL, | 14 BOOL WINAPI DllMain(HANDLE hinstDLL, |
| 15 DWORD dwReason, | 15 DWORD dwReason, |
| 16 LPVOID lpvReserved) { | 16 LPVOID lpvReserved) { |
| 17 // Do nothing. | 17 // Do nothing. |
| 18 return TRUE; | 18 return TRUE; |
| 19 } | 19 } |
| 20 } | 20 } |
| 21 #endif // V8_OS_WIN | 21 #endif // V8_OS_WIN |
| OLD | NEW |