summaryrefslogtreecommitdiff
path: root/deps/v8/src/v8dll-main.cc
blob: 6250b3e341de8d46b5dbfaf1eee89011c4701d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2011 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// The GYP based build ends up defining USING_V8_SHARED when compiling this
// file.
#undef USING_V8_SHARED
#include "include/v8.h"

#if V8_OS_WIN
#include "src/base/win32-headers.h"

extern "C" {
BOOL WINAPI DllMain(HANDLE hinstDLL,
                    DWORD dwReason,
                    LPVOID lpvReserved) {
  // Do nothing.
  return TRUE;
}
}
#endif  // V8_OS_WIN