cosmopolitan/libc/sysv/consts/ai.h
2021-02-08 04:04:42 -08:00

26 lines
793 B
C

#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_AI_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_AI_H_
#include "libc/runtime/symbolic.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const long AI_ADDRCONFIG;
extern const long AI_ALL;
extern const long AI_CANONNAME;
extern const long AI_NUMERICHOST;
extern const long AI_NUMERICSERV;
extern const long AI_PASSIVE;
extern const long AI_V4MAPPED;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define AI_ADDRCONFIG SYMBOLIC(AI_ADDRCONFIG)
#define AI_ALL SYMBOLIC(AI_ALL)
#define AI_CANONNAME LITERALLY(2)
#define AI_NUMERICHOST LITERALLY(4)
#define AI_NUMERICSERV SYMBOLIC(AI_NUMERICSERV)
#define AI_PASSIVE LITERALLY(1)
#define AI_V4MAPPED SYMBOLIC(AI_V4MAPPED)
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_AI_H_ */