Skip to content

Commit 45ef346

Browse files
msradambep
authored andcommitted
Add zos build flags
Added flags to const_bsds.go and const_win_unix.go to allow for building on IBM z/OS
1 parent 1882278 commit 45ef346

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

const_bsds.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
//go:build aix || darwin || openbsd || freebsd || netbsd || dragonfly
15-
// +build aix darwin openbsd freebsd netbsd dragonfly
14+
//go:build aix || darwin || openbsd || freebsd || netbsd || dragonfly || zos
15+
// +build aix darwin openbsd freebsd netbsd dragonfly zos
1616

1717
package afero
1818

const_win_unix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
13-
//go:build !darwin && !openbsd && !freebsd && !dragonfly && !netbsd && !aix
14-
// +build !darwin,!openbsd,!freebsd,!dragonfly,!netbsd,!aix
13+
//go:build !darwin && !openbsd && !freebsd && !dragonfly && !netbsd && !aix && !zos
14+
// +build !darwin,!openbsd,!freebsd,!dragonfly,!netbsd,!aix,!zos
1515

1616
package afero
1717

0 commit comments

Comments
 (0)