cosmopolitan/libc/sysv/consts/af.h
Justine Tunney afc58a8b41
Upgrade cosmopolitan gcc and binutils to 2.35.2
This change upgrades to the latest portcosmo gcc patch
6728fe1a25185560603ca312a8d4352af2a4e515 which lets us avoid needing to
define __tmpcosmo_FOO constants. We're now using an appropriate binutils
version for GCC 11. The older binutils sometimes wasn't able to print
backtraces, due to not being able to find a .debug_ranges section.

This is breaking change for /opt/cosmos libraries :'( due to this weird
"error: need linked-to section for --gc-sections" that pops up.

Please run `make clean` in the monorepo before rebuilding.
2023-06-18 00:54:14 -07:00

100 lines
2.8 KiB
C

#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_AF_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_AF_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const int AF_ALG;
extern const int AF_APPLETALK;
extern const int AF_ASH;
extern const int AF_ATMPVC;
extern const int AF_ATMSVC;
extern const int AF_AX25;
extern const int AF_BLUETOOTH;
extern const int AF_BRIDGE;
extern const int AF_CAIF;
extern const int AF_CAN;
extern const int AF_ECONET;
extern const int AF_FILE;
extern const int AF_IB;
extern const int AF_IEEE802154;
extern const int AF_INET6;
extern const int AF_INET;
extern const int AF_IPX;
extern const int AF_IRDA;
extern const int AF_ISDN;
extern const int AF_IUCV;
extern const int AF_KCM;
extern const int AF_KEY;
extern const int AF_LINK;
extern const int AF_LLC;
extern const int AF_LOCAL;
extern const int AF_MAX;
extern const int AF_MPLS;
extern const int AF_NETBEUI;
extern const int AF_NETLINK;
extern const int AF_NETROM;
extern const int AF_NFC;
extern const int AF_PACKET;
extern const int AF_PHONET;
extern const int AF_PPPOX;
extern const int AF_ROSE;
extern const int AF_ROUTE;
extern const int AF_RXRPC;
extern const int AF_SECURITY;
extern const int AF_SNA;
extern const int AF_TIPC;
extern const int AF_UNIX;
extern const int AF_UNSPEC;
extern const int AF_VSOCK;
extern const int AF_WANPIPE;
extern const int AF_X25;
#define AF_ALG AF_ALG
#define AF_LINK AF_LINK
#define AF_APPLETALK AF_APPLETALK
#define AF_ASH AF_ASH
#define AF_ATMPVC AF_ATMPVC
#define AF_ATMSVC AF_ATMSVC
#define AF_AX25 AF_AX25
#define AF_BLUETOOTH AF_BLUETOOTH
#define AF_BRIDGE AF_BRIDGE
#define AF_CAIF AF_CAIF
#define AF_CAN AF_CAN
#define AF_ECONET AF_ECONET
#define AF_FILE AF_FILE
#define AF_IB AF_IB
#define AF_IEEE802154 AF_IEEE802154
#define AF_INET 2
#define AF_INET6 AF_INET6
#define AF_IPX AF_IPX
#define AF_IRDA AF_IRDA
#define AF_ISDN AF_ISDN
#define AF_IUCV AF_IUCV
#define AF_KCM AF_KCM
#define AF_KEY AF_KEY
#define AF_LLC AF_LLC
#define AF_LOCAL AF_LOCAL
#define AF_MAX AF_MAX
#define AF_MPLS AF_MPLS
#define AF_NETBEUI AF_NETBEUI
#define AF_NETLINK AF_NETLINK
#define AF_NETROM AF_NETROM
#define AF_NFC AF_NFC
#define AF_PACKET AF_PACKET
#define AF_PHONET AF_PHONET
#define AF_PPPOX AF_PPPOX
#define AF_ROSE AF_ROSE
#define AF_ROUTE AF_ROUTE
#define AF_RXRPC AF_RXRPC
#define AF_SECURITY AF_SECURITY
#define AF_SNA AF_SNA
#define AF_TIPC AF_TIPC
#define AF_UNIX 1
#define AF_UNSPEC 0
#define AF_VSOCK AF_VSOCK
#define AF_WANPIPE AF_WANPIPE
#define AF_X25 AF_X25
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_AF_H_ */