]>
git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_darwin.pl
d3e5147fcb3790e7b6903346bcb0e36169b0f1e5
2 # Copyright 2009 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file.
6 # Generate system call table for Darwin from sys/syscall.h
10 if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
11 print STDERR
"GOARCH or GOOS not defined in environment\n";
15 my $command = "mksysnum_darwin.pl " . join(' ', @ARGV);
19 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
21 // +build $ENV{'GOARCH'},$ENV{'GOOS'}
29 if(/^#define\s+SYS_(\w+)\s+([0-9]+)/){
33 print " SYS_$name = $num;"