toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,200 @@
     1.4 +/* include/curl/curlbuild.h.  Generated from curlbuild.h.in by configure.  */
     1.5 +#ifndef __CURL_CURLBUILD_H
     1.6 +#define __CURL_CURLBUILD_H
     1.7 +/***************************************************************************
     1.8 + *                                  _   _ ____  _
     1.9 + *  Project                     ___| | | |  _ \| |
    1.10 + *                             / __| | | | |_) | |
    1.11 + *                            | (__| |_| |  _ <| |___
    1.12 + *                             \___|\___/|_| \_\_____|
    1.13 + *
    1.14 + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
    1.15 + *
    1.16 + * This software is licensed as described in the file COPYING, which
    1.17 + * you should have received as part of this distribution. The terms
    1.18 + * are also available at http://curl.haxx.se/docs/copyright.html.
    1.19 + *
    1.20 + * You may opt to use, copy, modify, merge, publish, distribute and/or sell
    1.21 + * copies of the Software, and permit persons to whom the Software is
    1.22 + * furnished to do so, under the terms of the COPYING file.
    1.23 + *
    1.24 + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
    1.25 + * KIND, either express or implied.
    1.26 + *
    1.27 + * $Id: curlbuild.h.in,v 1.8 2009-04-29 15:15:38 yangtse Exp $
    1.28 + ***************************************************************************/
    1.29 +
    1.30 +/* ================================================================ */
    1.31 +/*               NOTES FOR CONFIGURE CAPABLE SYSTEMS                */
    1.32 +/* ================================================================ */
    1.33 +
    1.34 +/*
    1.35 + * NOTE 1:
    1.36 + * -------
    1.37 + *
    1.38 + * Nothing in this file is intended to be modified or adjusted by the
    1.39 + * curl library user nor by the curl library builder.
    1.40 + *
    1.41 + * If you think that something actually needs to be changed, adjusted
    1.42 + * or fixed in this file, then, report it on the libcurl development
    1.43 + * mailing list: http://cool.haxx.se/mailman/listinfo/curl-library/
    1.44 + *
    1.45 + * This header file shall only export symbols which are 'curl' or 'CURL'
    1.46 + * prefixed, otherwise public name space would be polluted.
    1.47 + *
    1.48 + * NOTE 2:
    1.49 + * -------
    1.50 + *
    1.51 + * Right now you might be staring at file include/curl/curlbuild.h.in or
    1.52 + * at file include/curl/curlbuild.h, this is due to the following reason:
    1.53 + *
    1.54 + * On systems capable of running the configure script, the configure process
    1.55 + * will overwrite the distributed include/curl/curlbuild.h file with one that
    1.56 + * is suitable and specific to the library being configured and built, which
    1.57 + * is generated from the include/curl/curlbuild.h.in template file.
    1.58 + *
    1.59 + */
    1.60 +
    1.61 +/* ================================================================ */
    1.62 +/*  DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE  */
    1.63 +/* ================================================================ */
    1.64 +
    1.65 +#ifdef CURL_SIZEOF_LONG
    1.66 +#  error "CURL_SIZEOF_LONG shall not be defined except in curlbuild.h"
    1.67 +   Error Compilation_aborted_CURL_SIZEOF_LONG_already_defined
    1.68 +#endif
    1.69 +
    1.70 +#ifdef CURL_TYPEOF_CURL_SOCKLEN_T
    1.71 +#  error "CURL_TYPEOF_CURL_SOCKLEN_T shall not be defined except in curlbuild.h"
    1.72 +   Error Compilation_aborted_CURL_TYPEOF_CURL_SOCKLEN_T_already_defined
    1.73 +#endif
    1.74 +
    1.75 +#ifdef CURL_SIZEOF_CURL_SOCKLEN_T
    1.76 +#  error "CURL_SIZEOF_CURL_SOCKLEN_T shall not be defined except in curlbuild.h"
    1.77 +   Error Compilation_aborted_CURL_SIZEOF_CURL_SOCKLEN_T_already_defined
    1.78 +#endif
    1.79 +
    1.80 +#ifdef CURL_TYPEOF_CURL_OFF_T
    1.81 +#  error "CURL_TYPEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
    1.82 +   Error Compilation_aborted_CURL_TYPEOF_CURL_OFF_T_already_defined
    1.83 +#endif
    1.84 +
    1.85 +#ifdef CURL_FORMAT_CURL_OFF_T
    1.86 +#  error "CURL_FORMAT_CURL_OFF_T shall not be defined except in curlbuild.h"
    1.87 +   Error Compilation_aborted_CURL_FORMAT_CURL_OFF_T_already_defined
    1.88 +#endif
    1.89 +
    1.90 +#ifdef CURL_FORMAT_CURL_OFF_TU
    1.91 +#  error "CURL_FORMAT_CURL_OFF_TU shall not be defined except in curlbuild.h"
    1.92 +   Error Compilation_aborted_CURL_FORMAT_CURL_OFF_TU_already_defined
    1.93 +#endif
    1.94 +
    1.95 +#ifdef CURL_FORMAT_OFF_T
    1.96 +#  error "CURL_FORMAT_OFF_T shall not be defined except in curlbuild.h"
    1.97 +   Error Compilation_aborted_CURL_FORMAT_OFF_T_already_defined
    1.98 +#endif
    1.99 +
   1.100 +#ifdef CURL_SIZEOF_CURL_OFF_T
   1.101 +#  error "CURL_SIZEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
   1.102 +   Error Compilation_aborted_CURL_SIZEOF_CURL_OFF_T_already_defined
   1.103 +#endif
   1.104 +
   1.105 +#ifdef CURL_SUFFIX_CURL_OFF_T
   1.106 +#  error "CURL_SUFFIX_CURL_OFF_T shall not be defined except in curlbuild.h"
   1.107 +   Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_T_already_defined
   1.108 +#endif
   1.109 +
   1.110 +#ifdef CURL_SUFFIX_CURL_OFF_TU
   1.111 +#  error "CURL_SUFFIX_CURL_OFF_TU shall not be defined except in curlbuild.h"
   1.112 +   Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_TU_already_defined
   1.113 +#endif
   1.114 +
   1.115 +/* ================================================================ */
   1.116 +/*  EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY  */
   1.117 +/* ================================================================ */
   1.118 +
   1.119 +/* Configure process defines this to 1 when it finds out that system  */
   1.120 +/* header file ws2tcpip.h must be included by the external interface. */
   1.121 +/* #undef CURL_PULL_WS2TCPIP_H */
   1.122 +#ifdef CURL_PULL_WS2TCPIP_H
   1.123 +#  ifndef WIN32_LEAN_AND_MEAN
   1.124 +#    define WIN32_LEAN_AND_MEAN
   1.125 +#  endif
   1.126 +#  include <windows.h>
   1.127 +#  include <winsock2.h>
   1.128 +#  include <ws2tcpip.h>
   1.129 +#endif
   1.130 +
   1.131 +/* Configure process defines this to 1 when it finds out that system   */
   1.132 +/* header file sys/types.h must be included by the external interface. */
   1.133 +#define CURL_PULL_SYS_TYPES_H 1
   1.134 +#ifdef CURL_PULL_SYS_TYPES_H
   1.135 +#  include <sys/types.h>
   1.136 +#endif
   1.137 +
   1.138 +/* Configure process defines this to 1 when it finds out that system */
   1.139 +/* header file stdint.h must be included by the external interface.  */
   1.140 +/* #undef CURL_PULL_STDINT_H */
   1.141 +#ifdef CURL_PULL_STDINT_H
   1.142 +#  include <stdint.h>
   1.143 +#endif
   1.144 +
   1.145 +/* Configure process defines this to 1 when it finds out that system  */
   1.146 +/* header file inttypes.h must be included by the external interface. */
   1.147 +/* #undef CURL_PULL_INTTYPES_H */
   1.148 +#ifdef CURL_PULL_INTTYPES_H
   1.149 +#  include <inttypes.h>
   1.150 +#endif
   1.151 +
   1.152 +/* Configure process defines this to 1 when it finds out that system    */
   1.153 +/* header file sys/socket.h must be included by the external interface. */
   1.154 +#define CURL_PULL_SYS_SOCKET_H 1
   1.155 +#ifdef CURL_PULL_SYS_SOCKET_H
   1.156 +#  include <sys/socket.h>
   1.157 +#endif
   1.158 +
   1.159 +/* The size of `long', as computed by sizeof. */
   1.160 +#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__))
   1.161 +#define CURL_SIZEOF_LONG 8
   1.162 +#else
   1.163 +#define CURL_SIZEOF_LONG 4
   1.164 +#endif
   1.165 +
   1.166 +/* Integral data type used for curl_socklen_t. */
   1.167 +#define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
   1.168 +
   1.169 +/* The size of `curl_socklen_t', as computed by sizeof. */
   1.170 +#define CURL_SIZEOF_CURL_SOCKLEN_T 4
   1.171 +
   1.172 +/* Data type definition of curl_socklen_t. */
   1.173 +typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t;
   1.174 +
   1.175 +/* Signed integral data type used for curl_off_t. */
   1.176 +#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__))
   1.177 +#define CURL_TYPEOF_CURL_OFF_T long
   1.178 +#else
   1.179 +#define CURL_TYPEOF_CURL_OFF_T int64_t
   1.180 +#endif
   1.181 +
   1.182 +/* Data type definition of curl_off_t. */
   1.183 +typedef CURL_TYPEOF_CURL_OFF_T curl_off_t;
   1.184 +
   1.185 +/* curl_off_t formatting string directive without "%" conversion specifier. */
   1.186 +#define CURL_FORMAT_CURL_OFF_T "ld"
   1.187 +
   1.188 +/* unsigned curl_off_t formatting string without "%" conversion specifier. */
   1.189 +#define CURL_FORMAT_CURL_OFF_TU "lu"
   1.190 +
   1.191 +/* curl_off_t formatting string directive with "%" conversion specifier. */
   1.192 +#define CURL_FORMAT_OFF_T "%ld"
   1.193 +
   1.194 +/* The size of `curl_off_t', as computed by sizeof. */
   1.195 +#define CURL_SIZEOF_CURL_OFF_T 8
   1.196 +
   1.197 +/* curl_off_t constant suffix. */
   1.198 +#define CURL_SUFFIX_CURL_OFF_T L
   1.199 +
   1.200 +/* unsigned curl_off_t constant suffix. */
   1.201 +#define CURL_SUFFIX_CURL_OFF_TU UL
   1.202 +
   1.203 +#endif /* __CURL_CURLBUILD_H */

mercurial