summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/linker-flags/main-crt.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win/linker-flags/main-crt.c')
-rw-r--r--deps/gyp/test/win/linker-flags/main-crt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/gyp/test/win/linker-flags/main-crt.c b/deps/gyp/test/win/linker-flags/main-crt.c
new file mode 100644
index 0000000000..bdc80c54fd
--- /dev/null
+++ b/deps/gyp/test/win/linker-flags/main-crt.c
@@ -0,0 +1,8 @@
+// Copyright (c) 2013 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.
+
+// Stub so we can link with /NODEFAULTLIB when checking disasm.
+int mainCRTStartup() {
+ return 5;
+}