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 3 // found in the LICENSE file. 4 5 // The GYP based build ends up defining USING_V8_SHARED when compiling this 6 // file. 7 #undef USING_V8_SHARED 8 #include "include/v8config.h" 9 10 #if V8_OS_WIN 11 #include "src/base/win32-headers.h" 12 13 extern "C" { DllMain(HANDLE hinstDLL,DWORD dwReason,LPVOID lpvReserved)14BOOL WINAPI DllMain(HANDLE hinstDLL, DWORD dwReason, LPVOID lpvReserved) { 15 // Do nothing. 16 return 1; 17 } 18 } 19 #endif // V8_OS_WIN 20