summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/linker-flags/nodefaultlib.cc
blob: 24b6eca438fe8a755983105ee67779e189978942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2012 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Include entry point function that's excluded by removing C runtime libraries.
extern "C" void mainCRTStartup() {
}

// Still needed because the linker checks for existence of one of main, wmain,
// WinMain, or wMain to offer informative diagnositics.
int main() {
  return 0;
}