Browse Source

Enabled build on non-Windows systems

master
Tom Payne 2 years ago
parent
commit
a432b8a860
14 changed files with 30 additions and 0 deletions
  1. +2
    -0
      api/acl.go
  2. +2
    -0
      api/acl_test.go
  3. +2
    -0
      api/api.go
  4. +3
    -0
      api/posix.go
  5. +2
    -0
      api/secinfo.go
  6. +2
    -0
      api/secinfo_test.go
  7. +2
    -0
      api/sid.go
  8. +2
    -0
      api/sid_test.go
  9. +2
    -0
      apply.go
  10. +2
    -0
      apply_test.go
  11. +2
    -0
      chmod.go
  12. +2
    -0
      chmod_test.go
  13. +3
    -0
      posix.go
  14. +2
    -0
      util.go

+ 2
- 0
api/acl.go View File

@ -1,3 +1,5 @@
//+build windows
package api
import (


+ 2
- 0
api/acl_test.go View File

@ -1,3 +1,5 @@
//+build windows
package api
import (


+ 2
- 0
api/api.go View File

@ -1,3 +1,5 @@
//+build windows
// Windows API functions for manipulating ACLs.
package api


+ 3
- 0
api/posix.go View File

@ -0,0 +1,3 @@
//+build !windows
package api

+ 2
- 0
api/secinfo.go View File

@ -1,3 +1,5 @@
//+build windows
package api
import (


+ 2
- 0
api/secinfo_test.go View File

@ -1,3 +1,5 @@
//+build windows
package api
import (


+ 2
- 0
api/sid.go View File

@ -1,3 +1,5 @@
//+build windows
package api
import (


+ 2
- 0
api/sid_test.go View File

@ -1,3 +1,5 @@
//+build windows
package api
import (


+ 2
- 0
apply.go View File

@ -1,3 +1,5 @@
//+build windows
package acl
import (


+ 2
- 0
apply_test.go View File

@ -1,3 +1,5 @@
//+build windows
package acl
import (


+ 2
- 0
chmod.go View File

@ -1,3 +1,5 @@
//+build windows
package acl
import (


+ 2
- 0
chmod_test.go View File

@ -1,3 +1,5 @@
//+build windows
package acl
import (


+ 3
- 0
posix.go View File

@ -0,0 +1,3 @@
//+build !windows
package acl

+ 2
- 0
util.go View File

@ -1,3 +1,5 @@
//+build windows
package acl
import (


Loading…
Cancel
Save