aboutsummaryrefslogtreecommitdiffstats
path: root/gdb-common_darwin.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-17 13:52:29 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-17 13:52:29 +0200
commit6255220f5dd115619990f698044ffae36c3dfcf6 (patch)
tree4b2316fd09dabc9d35c6661fece448dc7230fa2b /gdb-common_darwin.go
parentb91f9fa7fe99aa9b0eed5a847baa67f1c678208a (diff)
Fixed windows build.
Diffstat (limited to 'gdb-common_darwin.go')
-rw-r--r--gdb-common_darwin.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb-common_darwin.go b/gdb-common_darwin.go
index d167c5d..dff1c2b 100644
--- a/gdb-common_darwin.go
+++ b/gdb-common_darwin.go
@@ -40,3 +40,7 @@ func tcgetattr(fd uintptr, termios *syscall.Termios) error {
}
return nil
}
+
+func isIgnoredSignal(sig os.Signal) bool {
+ return (sig == syscall.SIGWINCH)
+}