Blame ares_build.h.in

Packit 514978
#ifndef __CARES_BUILD_H
Packit 514978
#define __CARES_BUILD_H
Packit 514978
Packit 514978
Packit 514978
/* Copyright (C) 2009 by Daniel Stenberg et al
Packit 514978
 *
Packit 514978
 * Permission to use, copy, modify, and distribute this software and its
Packit 514978
 * documentation for any purpose and without fee is hereby granted, provided
Packit 514978
 * that the above copyright notice appear in all copies and that both that
Packit 514978
 * copyright notice and this permission notice appear in supporting
Packit 514978
 * documentation, and that the name of M.I.T. not be used in advertising or
Packit 514978
 * publicity pertaining to distribution of the software without specific,
Packit 514978
 * written prior permission.  M.I.T. makes no representations about the
Packit 514978
 * suitability of this software for any purpose.  It is provided "as is"
Packit 514978
 * without express or implied warranty.
Packit 514978
 */
Packit 514978
Packit 514978
/* ================================================================ */
Packit 514978
/*               NOTES FOR CONFIGURE CAPABLE SYSTEMS                */
Packit 514978
/* ================================================================ */
Packit 514978
Packit 514978
/*
Packit 514978
 * NOTE 1:
Packit 514978
 * -------
Packit 514978
 *
Packit 514978
 * Nothing in this file is intended to be modified or adjusted by the
Packit 514978
 * c-ares library user nor by the c-ares library builder.
Packit 514978
 *
Packit 514978
 * If you think that something actually needs to be changed, adjusted
Packit 514978
 * or fixed in this file, then, report it on the c-ares development
Packit 514978
 * mailing list: http://cool.haxx.se/mailman/listinfo/c-ares/
Packit 514978
 *
Packit 514978
 * This header file shall only export symbols which are 'cares' or 'CARES'
Packit 514978
 * prefixed, otherwise public name space would be polluted.
Packit 514978
 *
Packit 514978
 * NOTE 2:
Packit 514978
 * -------
Packit 514978
 *
Packit 514978
 * Right now you might be staring at file ares_build.h.in or ares_build.h,
Packit 514978
 * this is due to the following reason:
Packit 514978
 *
Packit 514978
 * On systems capable of running the configure script, the configure process
Packit 514978
 * will overwrite the distributed ares_build.h file with one that is suitable
Packit 514978
 * and specific to the library being configured and built, which is generated
Packit 514978
 * from the ares_build.h.in template file.
Packit 514978
 *
Packit 514978
 */
Packit 514978
Packit 514978
/* ================================================================ */
Packit 514978
/*  DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE  */
Packit 514978
/* ================================================================ */
Packit 514978
Packit 514978
#ifdef CARES_TYPEOF_ARES_SOCKLEN_T
Packit 514978
#  error "CARES_TYPEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h"
Packit 514978
   Error Compilation_aborted_CARES_TYPEOF_ARES_SOCKLEN_T_already_defined
Packit 514978
#endif
Packit 514978
Packit 514978
/* ================================================================ */
Packit 514978
/*  EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY  */
Packit 514978
/* ================================================================ */
Packit 514978
Packit 514978
/* Configure process defines this to 1 when it finds out that system  */
Packit 514978
/* header file ws2tcpip.h must be included by the external interface. */
Packit 514978
#undef CARES_PULL_WS2TCPIP_H
Packit 514978
#ifdef CARES_PULL_WS2TCPIP_H
Packit 514978
#  ifndef WIN32_LEAN_AND_MEAN
Packit 514978
#    define WIN32_LEAN_AND_MEAN
Packit 514978
#  endif
Packit 514978
#  include <windows.h>
Packit 514978
#  include <winsock2.h>
Packit 514978
#  include <ws2tcpip.h>
Packit 514978
#endif
Packit 514978
Packit 514978
/* Configure process defines this to 1 when it finds out that system   */
Packit 514978
/* header file sys/types.h must be included by the external interface. */
Packit 514978
#undef CARES_PULL_SYS_TYPES_H
Packit 514978
#ifdef CARES_PULL_SYS_TYPES_H
Packit 514978
#  include <sys/types.h>
Packit 514978
#endif
Packit 514978
Packit 514978
/* Configure process defines this to 1 when it finds out that system    */
Packit 514978
/* header file sys/socket.h must be included by the external interface. */
Packit 514978
#undef CARES_PULL_SYS_SOCKET_H
Packit 514978
#ifdef CARES_PULL_SYS_SOCKET_H
Packit 514978
#  include <sys/socket.h>
Packit 514978
#endif
Packit 514978
Packit 514978
/* Integral data type used for ares_socklen_t. */
Packit 514978
#undef CARES_TYPEOF_ARES_SOCKLEN_T
Packit 514978
Packit 514978
/* Data type definition of ares_socklen_t. */
Packit 514978
typedef CARES_TYPEOF_ARES_SOCKLEN_T ares_socklen_t;
Packit 514978
Packit 514978
/* Integral data type used for ares_ssize_t. */
Packit 514978
#undef CARES_TYPEOF_ARES_SSIZE_T
Packit 514978
Packit 514978
/* Data type definition of ares_ssize_t. */
Packit 514978
typedef CARES_TYPEOF_ARES_SSIZE_T ares_ssize_t;
Packit 514978
Packit 514978
#endif /* __CARES_BUILD_H */