annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/ares_build.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 #ifndef __CARES_BUILD_H
jpayne@69 2 #define __CARES_BUILD_H
jpayne@69 3 /*
jpayne@69 4 * Copyright (C) The c-ares project and its contributors
jpayne@69 5 * SPDX-License-Identifier: MIT
jpayne@69 6 */
jpayne@69 7
jpayne@69 8 #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
jpayne@69 9 #define CARES_TYPEOF_ARES_SSIZE_T ssize_t
jpayne@69 10
jpayne@69 11 /* Prefix names with CARES_ to make sure they don't conflict with other config.h
jpayne@69 12 * files. We need to include some dependent headers that may be system specific
jpayne@69 13 * for C-Ares */
jpayne@69 14 #define CARES_HAVE_SYS_TYPES_H
jpayne@69 15 #define CARES_HAVE_SYS_SOCKET_H
jpayne@69 16 #define CARES_HAVE_SYS_SELECT_H
jpayne@69 17 /* #undef CARES_HAVE_WINDOWS_H */
jpayne@69 18 /* #undef CARES_HAVE_WS2TCPIP_H */
jpayne@69 19 /* #undef CARES_HAVE_WINSOCK2_H */
jpayne@69 20 #define CARES_HAVE_ARPA_NAMESER_H
jpayne@69 21 #define CARES_HAVE_ARPA_NAMESER_COMPAT_H
jpayne@69 22
jpayne@69 23 #ifdef CARES_HAVE_SYS_TYPES_H
jpayne@69 24 # include <sys/types.h>
jpayne@69 25 #endif
jpayne@69 26
jpayne@69 27 #ifdef CARES_HAVE_SYS_SOCKET_H
jpayne@69 28 # include <sys/socket.h>
jpayne@69 29 #endif
jpayne@69 30
jpayne@69 31 #ifdef CARES_HAVE_SYS_SELECT_H
jpayne@69 32 # include <sys/select.h>
jpayne@69 33 #endif
jpayne@69 34
jpayne@69 35 #ifdef CARES_HAVE_WINSOCK2_H
jpayne@69 36 # include <winsock2.h>
jpayne@69 37 #endif
jpayne@69 38
jpayne@69 39 #ifdef CARES_HAVE_WS2TCPIP_H
jpayne@69 40 # include <ws2tcpip.h>
jpayne@69 41 #endif
jpayne@69 42
jpayne@69 43 #ifdef CARES_HAVE_WINDOWS_H
jpayne@69 44 # include <windows.h>
jpayne@69 45 #endif
jpayne@69 46
jpayne@69 47 #endif /* __CARES_BUILD_H */