mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
afc58a8b41
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.
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IFF_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IFF_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const int IFF_UP;
|
|
extern const int IFF_ALLMULTI;
|
|
extern const int IFF_AUTOMEDIA;
|
|
extern const int IFF_BROADCAST;
|
|
extern const int IFF_DEBUG;
|
|
extern const int IFF_DYNAMIC;
|
|
extern const int IFF_LOOPBACK;
|
|
extern const int IFF_MASTER;
|
|
extern const int IFF_MULTICAST;
|
|
extern const int IFF_NOARP;
|
|
extern const int IFF_NOTRAILERS;
|
|
extern const int IFF_POINTOPOINT;
|
|
extern const int IFF_PORTSEL;
|
|
extern const int IFF_PROMISC;
|
|
extern const int IFF_RUNNING;
|
|
extern const int IFF_SLAVE;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#define IFF_UP 1
|
|
#define IFF_BROADCAST 2
|
|
#define IFF_DEBUG 4
|
|
#define IFF_LOOPBACK 8
|
|
#define IFF_ALLMULTI IFF_ALLMULTI
|
|
#define IFF_AUTOMEDIA IFF_AUTOMEDIA
|
|
#define IFF_DYNAMIC IFF_DYNAMIC
|
|
#define IFF_MASTER IFF_MASTER
|
|
#define IFF_MULTICAST IFF_MULTICAST
|
|
#define IFF_NOARP IFF_NOARP
|
|
#define IFF_NOTRAILERS IFF_NOTRAILERS
|
|
#define IFF_POINTOPOINT IFF_POINTOPOINT
|
|
#define IFF_PORTSEL IFF_PORTSEL
|
|
#define IFF_PROMISC IFF_PROMISC
|
|
#define IFF_RUNNING IFF_RUNNING
|
|
#define IFF_SLAVE IFF_SLAVE
|
|
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IFF_H_ */
|