summaryrefslogtreecommitdiff
path: root/libgo/misc/cgo/testcarchive/main_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/misc/cgo/testcarchive/main_windows.c')
-rw-r--r--libgo/misc/cgo/testcarchive/main_windows.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/libgo/misc/cgo/testcarchive/main_windows.c b/libgo/misc/cgo/testcarchive/main_windows.c
new file mode 100644
index 00000000000..eded8af1a2c
--- /dev/null
+++ b/libgo/misc/cgo/testcarchive/main_windows.c
@@ -0,0 +1,17 @@
+// Copyright 2015 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+/*
+ * Dummy implementations for Windows, because Windows doesn't
+ * support Unix-style signal handling.
+ */
+
+int install_handler() {
+ return 0;
+}
+
+
+int check_handler() {
+ return 0;
+}