| //===----------------------------------------------------------------------===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| /// |
| /// \file |
| /// Macros defined in netdb.h header file for Linux. |
| /// |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef LLVM_LIBC_MACROS_LINUX_NETDB_MACROS_H |
| #define LLVM_LIBC_MACROS_LINUX_NETDB_MACROS_H |
| |
| #define EAI_BADFLAGS -1 |
| #define EAI_NONAME -2 |
| #define EAI_AGAIN -3 |
| #define EAI_FAIL -4 |
| #define EAI_FAMILY -6 |
| #define EAI_SOCKTYPE -7 |
| #define EAI_SERVICE -8 |
| #define EAI_MEMORY -10 |
| #define EAI_SYSTEM -11 |
| #define EAI_OVERFLOW -12 |
| |
| #endif // LLVM_LIBC_MACROS_LINUX_NETDB_MACROS_H |