Skip to content

Commit

Permalink
Merge pull request microsoft#33 from cezarsa/master
Browse files Browse the repository at this point in the history
Include build tags to allow go get on non-Windows platforms.
  • Loading branch information
darstahl authored Nov 21, 2016
2 parents 562bb09 + 94c0518 commit d8f60f2
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions backup.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build windows

package winio

import (
Expand Down
4 changes: 4 additions & 0 deletions backuptar/noop.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// +build !windows
// This file only exists to allow go get on non-Windows platforms.

package backuptar
2 changes: 2 additions & 0 deletions backuptar/tar.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build windows

package backuptar

import (
Expand Down
2 changes: 2 additions & 0 deletions file.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build windows

package winio

import (
Expand Down
2 changes: 2 additions & 0 deletions fileinfo.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build windows

package winio

import (
Expand Down
2 changes: 2 additions & 0 deletions pipe.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build windows

package winio

import (
Expand Down
2 changes: 2 additions & 0 deletions privilege.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build windows

package winio

import (
Expand Down
2 changes: 2 additions & 0 deletions sd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build windows

package winio

import (
Expand Down
2 changes: 1 addition & 1 deletion syscall.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package winio

//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go
//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go
File renamed without changes.

0 comments on commit d8f60f2

Please sign in to comment.