mirror of
https://github.com/golang/go
synced 2024-11-17 22:14:43 -07:00
93c5fbf390
This is in support of https://golang.org/cl/18057 which adds support for c-archive to the Windows platform. The signal handling tests do not compile on Windows. This splits them out into a separate main_unix.c file, and conditionally includes them for non-Windows platforms. Change-Id: Ic79ce83da7656d6703505e514554748a482b81a1 Reviewed-on: https://go-review.googlesource.com/21086 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
18 lines
343 B
C
18 lines
343 B
C
// 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;
|
|
}
|