summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/linker-flags/main-crt.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/win/linker-flags/main-crt.c')
-rw-r--r--third_party/python/gyp/test/win/linker-flags/main-crt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/win/linker-flags/main-crt.c b/third_party/python/gyp/test/win/linker-flags/main-crt.c
new file mode 100644
index 0000000000..bdc80c54fd
--- /dev/null
+++ b/third_party/python/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;
+}