blob: 6250b3e341de8d46b5dbfaf1eee89011c4701d9b [file] [log] [blame]
Ben Murdoch257744e2011-11-30 15:57:28 +00001// Copyright 2011 the V8 project authors. All rights reserved.
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
Steve Block8defd9f2010-07-08 12:39:36 +01004
Ben Murdoch257744e2011-11-30 15:57:28 +00005// The GYP based build ends up defining USING_V8_SHARED when compiling this
6// file.
7#undef USING_V8_SHARED
Ben Murdochb8a8cc12014-11-26 15:28:44 +00008#include "include/v8.h"
Steve Block8defd9f2010-07-08 12:39:36 +01009
Ben Murdochb8a8cc12014-11-26 15:28:44 +000010#if V8_OS_WIN
11#include "src/base/win32-headers.h"
Ben Murdoch257744e2011-11-30 15:57:28 +000012
Steve Block8defd9f2010-07-08 12:39:36 +010013extern "C" {
14BOOL WINAPI DllMain(HANDLE hinstDLL,
15 DWORD dwReason,
16 LPVOID lpvReserved) {
17 // Do nothing.
18 return TRUE;
19}
20}
Ben Murdochb8a8cc12014-11-26 15:28:44 +000021#endif // V8_OS_WIN