Home | History | Annotate | Download | only in src
      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/v8.h"
      9 
     10 #if V8_OS_WIN
     11 #include "src/base/win32-headers.h"
     12 
     13 extern "C" {
     14 BOOL WINAPI DllMain(HANDLE hinstDLL,
     15                     DWORD dwReason,
     16                     LPVOID lpvReserved) {
     17   // Do nothing.
     18   return TRUE;
     19 }
     20 }
     21 #endif  // V8_OS_WIN
     22