-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from sul3n3t/compile-more-platforms
Build on ppc64(le), s390x
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package sysx | ||
|
||
import "github.com/pkg/errors" | ||
|
||
func llistxattr(path string, dest []byte) (sz int, err error) { | ||
return 0, errors.Wrap(ErrNotSupported, "llistxattr not implemented on ppc64") | ||
} | ||
|
||
func lremovexattr(path string, attr string) (err error) { | ||
return errors.Wrap(ErrNotSupported, "lremovexattr not implemented on ppc64") | ||
} | ||
|
||
func lsetxattr(path string, attr string, data []byte, flags int) (err error) { | ||
return errors.Wrap(ErrNotSupported, "lsetxattr not implemented on ppc64") | ||
} | ||
|
||
func lgetxattr(path string, attr string, dest []byte) (sz int, err error) { | ||
return 0, errors.Wrap(ErrNotSupported, "lgetxattr not implemented on ppc64") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package sysx | ||
|
||
import "github.com/pkg/errors" | ||
|
||
func llistxattr(path string, dest []byte) (sz int, err error) { | ||
return 0, errors.Wrap(ErrNotSupported, "llistxattr not implemented on ppc64le") | ||
} | ||
|
||
func lremovexattr(path string, attr string) (err error) { | ||
return errors.Wrap(ErrNotSupported, "lremovexattr not implemented on ppc64le") | ||
} | ||
|
||
func lsetxattr(path string, attr string, data []byte, flags int) (err error) { | ||
return errors.Wrap(ErrNotSupported, "lsetxattr not implemented on ppc64le") | ||
} | ||
|
||
func lgetxattr(path string, attr string, dest []byte) (sz int, err error) { | ||
return 0, errors.Wrap(ErrNotSupported, "lgetxattr not implemented on ppc64le") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package sysx | ||
|
||
import "github.com/pkg/errors" | ||
|
||
func llistxattr(path string, dest []byte) (sz int, err error) { | ||
return 0, errors.Wrap(ErrNotSupported, "llistxattr not implemented on s390x") | ||
} | ||
|
||
func lremovexattr(path string, attr string) (err error) { | ||
return errors.Wrap(ErrNotSupported, "lremovexattr not implemented on s390x") | ||
} | ||
|
||
func lsetxattr(path string, attr string, data []byte, flags int) (err error) { | ||
return errors.Wrap(ErrNotSupported, "lsetxattr not implemented on s390x") | ||
} | ||
|
||
func lgetxattr(path string, attr string, dest []byte) (sz int, err error) { | ||
return 0, errors.Wrap(ErrNotSupported, "lgetxattr not implemented on s390x") | ||
} |