diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-17 13:00:44 +1100 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-10-17 04:17:59 +0000 |
commit | 345c90ac05bffd6e4163be9dabc0386cd8918057 (patch) | |
tree | ed29b41dfe6354adba1f81c11d676519ebdf2daa /vendor/golang.org/x/sys/unix/mkerrors.sh | |
parent | 7564e506b525e0831a1fb88dfc70e9d27564d8a1 (diff) |
fix editor
Diffstat (limited to 'vendor/golang.org/x/sys/unix/mkerrors.sh')
-rw-r--r-- | vendor/golang.org/x/sys/unix/mkerrors.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh index 850aafec1..a74ef58f8 100644 --- a/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -54,7 +54,7 @@ includes_AIX=' includes_Darwin=' #define _DARWIN_C_SOURCE -#define KERNEL +#define KERNEL 1 #define _DARWIN_USE_64_BIT_INODE #define __APPLE_USE_RFC_3542 #include <stdint.h> @@ -75,6 +75,7 @@ includes_Darwin=' #include <sys/utsname.h> #include <sys/wait.h> #include <sys/xattr.h> +#include <sys/vsock.h> #include <net/bpf.h> #include <net/if.h> #include <net/if_types.h> @@ -82,6 +83,9 @@ includes_Darwin=' #include <netinet/in.h> #include <netinet/ip.h> #include <termios.h> + +// for backwards compatibility because moved TIOCREMOTE to Kernel.framework after MacOSX12.0.sdk. +#define TIOCREMOTE 0x80047469 ' includes_DragonFly=' @@ -466,7 +470,6 @@ ccflags="$@" $2 !~ /^EQUIV_/ && $2 !~ /^EXPR_/ && $2 !~ /^EVIOC/ && - $2 !~ /^EV_/ && $2 ~ /^E[A-Z0-9_]+$/ || $2 ~ /^B[0-9_]+$/ || $2 ~ /^(OLD|NEW)DEV$/ || |