Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
31b8457c
Commit
31b8457c
authored
6 years ago
by
Mahmood Ali
Browse files
Options
Download
Email Patches
Plain Diff
compile on windows
parent
fe3e87bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
command/alloc_exec_unix.go
+13
-0
command/alloc_exec_unix.go
command/alloc_exec_windows.go
+9
-0
command/alloc_exec_windows.go
with
22 additions
and
0 deletions
+22
-0
command/alloc_exec_unix.go
0 → 100644
+
13
-
0
View file @
31b8457c
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package
command
import
(
"os"
"os/signal"
"golang.org/x/sys/unix"
)
func
setupWindowNotification
(
ch
chan
<-
os
.
Signal
)
{
signal
.
Notify
(
ch
,
unix
.
SIGWINCH
)
}
This diff is collapsed.
Click to expand it.
command/alloc_exec_windows.go
0 → 100644
+
9
-
0
View file @
31b8457c
package
command
import
(
"os"
)
func
setupWindowNotification
(
ch
chan
<-
os
.
Signal
)
{
// do nothing
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help