1d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef __CURL_CURLRULES_H 2d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#define __CURL_CURLRULES_H 3d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/*************************************************************************** 4d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * _ _ ____ _ 5d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Project ___| | | | _ \| | 6d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * / __| | | | |_) | | 7d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * | (__| |_| | _ <| |___ 8d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * \___|\___/|_| \_\_____| 9d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 10d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. 11d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 12d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * This software is licensed as described in the file COPYING, which 13d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * you should have received as part of this distribution. The terms 14d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * are also available at http://curl.haxx.se/docs/copyright.html. 15d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 16d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * You may opt to use, copy, modify, merge, publish, distribute and/or sell 17d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * copies of the Software, and permit persons to whom the Software is 18d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * furnished to do so, under the terms of the COPYING file. 19d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 20d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * KIND, either express or implied. 22d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 23d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * $Id: curlrules.h,v 1.7 2009-10-27 16:56:20 yangtse Exp $ 24d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid ***************************************************************************/ 25d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 26d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* ================================================================ */ 27d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* COMPILE TIME SANITY CHECKS */ 28d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* ================================================================ */ 29d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 30d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 31d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * NOTE 1: 32d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * ------- 33d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 34d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * All checks done in this file are intentionally placed in a public 35d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * header file which is pulled by curl/curl.h when an application is 36d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * being built using an already built libcurl library. Additionally 37d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * this file is also included and used when building the library. 38d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 39d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * If compilation fails on this file it is certainly sure that the 40d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * problem is elsewhere. It could be a problem in the curlbuild.h 41d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * header file, or simply that you are using different compilation 42d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * settings than those used to build the library. 43d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 44d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Nothing in this file is intended to be modified or adjusted by the 45d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * curl library user nor by the curl library builder. 46d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 47d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Do not deactivate any check, these are done to make sure that the 48d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * library is properly built and used. 49d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 50d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * You can find further help on the libcurl development mailing list: 51d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * http://cool.haxx.se/mailman/listinfo/curl-library/ 52d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 53d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * NOTE 2 54d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * ------ 55d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 56d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Some of the following compile time checks are based on the fact 57d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * that the dimension of a constant array can not be a negative one. 58d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * In this way if the compile time verification fails, the compilation 59d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * will fail issuing an error. The error description wording is compiler 60d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * dependent but it will be quite similar to one of the following: 61d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 62d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * "negative subscript or subscript is too large" 63d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * "array must have at least one element" 64d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * "-1 is an illegal array size" 65d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * "size of array is negative" 66d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * 67d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * If you are building an application which tries to use an already 68d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * built libcurl library and you are getting this kind of errors on 69d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * this file, it is a clear indication that there is a mismatch between 70d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * how the library was built and how you are trying to use it for your 71d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * application. Your already compiled or binary library provider is the 72d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * only one who can give you the details you need to properly use it. 73d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 74d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 75d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 76d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Verify that some macros are actually defined. 77d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 78d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 79d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_SIZEOF_LONG 80d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_SIZEOF_LONG definition is missing!" 81d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_SIZEOF_LONG_is_missing 82d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 83d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 84d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_TYPEOF_CURL_SOCKLEN_T 85d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_TYPEOF_CURL_SOCKLEN_T definition is missing!" 86d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_TYPEOF_CURL_SOCKLEN_T_is_missing 87d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 88d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 89d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_SIZEOF_CURL_SOCKLEN_T 90d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_SIZEOF_CURL_SOCKLEN_T definition is missing!" 91d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_SIZEOF_CURL_SOCKLEN_T_is_missing 92d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 93d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 94d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_TYPEOF_CURL_OFF_T 95d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_TYPEOF_CURL_OFF_T definition is missing!" 96d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_TYPEOF_CURL_OFF_T_is_missing 97d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 98d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 99d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_FORMAT_CURL_OFF_T 100d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_FORMAT_CURL_OFF_T definition is missing!" 101d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_FORMAT_CURL_OFF_T_is_missing 102d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 103d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 104d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_FORMAT_CURL_OFF_TU 105d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_FORMAT_CURL_OFF_TU definition is missing!" 106d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_FORMAT_CURL_OFF_TU_is_missing 107d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 108d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 109d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_FORMAT_OFF_T 110d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_FORMAT_OFF_T definition is missing!" 111d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_FORMAT_OFF_T_is_missing 112d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 113d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 114d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_SIZEOF_CURL_OFF_T 115d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_SIZEOF_CURL_OFF_T definition is missing!" 116d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_SIZEOF_CURL_OFF_T_is_missing 117d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 118d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 119d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_SUFFIX_CURL_OFF_T 120d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_SUFFIX_CURL_OFF_T definition is missing!" 121d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_T_is_missing 122d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 123d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 124d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifndef CURL_SUFFIX_CURL_OFF_TU 125d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# error "CURL_SUFFIX_CURL_OFF_TU definition is missing!" 126d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_TU_is_missing 127d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 128d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 129d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 130d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Macros private to this header file. 131d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 132d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 133d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1 134d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 135d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#define CurlchkszGE(t1, t2) sizeof(t1) >= sizeof(t2) ? 1 : -1 136d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 137d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 138d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Verify that the size previously defined and expected for long 139d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * is the same as the one reported by sizeof() at compile time. 140d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 141d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 142d9d863e153d12532fc85bd8b44bc47f079ed064cnealsidtypedef char 143d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid __curl_rule_01__ 144d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid [CurlchkszEQ(long, CURL_SIZEOF_LONG)]; 145d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 146d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 147d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Verify that the size previously defined and expected for 148d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * curl_off_t is actually the the same as the one reported 149d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * by sizeof() at compile time. 150d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 151d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 152d9d863e153d12532fc85bd8b44bc47f079ed064cnealsidtypedef char 153d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid __curl_rule_02__ 154d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)]; 155d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 156d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 157d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Verify at compile time that the size of curl_off_t as reported 158d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * by sizeof() is greater or equal than the one reported for long 159d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * for the current compilation. 160d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 161d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 162d9d863e153d12532fc85bd8b44bc47f079ed064cnealsidtypedef char 163d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid __curl_rule_03__ 164d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid [CurlchkszGE(curl_off_t, long)]; 165d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 166d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 167d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Verify that the size previously defined and expected for 168d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * curl_socklen_t is actually the the same as the one reported 169d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * by sizeof() at compile time. 170d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 171d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 172d9d863e153d12532fc85bd8b44bc47f079ed064cnealsidtypedef char 173d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid __curl_rule_04__ 174d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid [CurlchkszEQ(curl_socklen_t, CURL_SIZEOF_CURL_SOCKLEN_T)]; 175d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 176d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 177d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Verify at compile time that the size of curl_socklen_t as reported 178d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * by sizeof() is greater or equal than the one reported for int for 179d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * the current compilation. 180d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 181d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 182d9d863e153d12532fc85bd8b44bc47f079ed064cnealsidtypedef char 183d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid __curl_rule_05__ 184d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid [CurlchkszGE(curl_socklen_t, int)]; 185d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 186d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* ================================================================ */ 187d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* EXTERNALLY AND INTERNALLY VISIBLE DEFINITIONS */ 188d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* ================================================================ */ 189d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 190d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 191d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * CURL_ISOCPP and CURL_OFF_T_C definitions are done here in order to allow 192d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * these to be visible and exported by the external libcurl interface API, 193d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * while also making them visible to the library internals, simply including 194d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * setup.h, without actually needing to include curl.h internally. 195d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * If some day this section would grow big enough, all this should be moved 196d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * to its own header file. 197d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 198d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 199d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 200d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Figure out if we can use the ## preprocessor operator, which is supported 201d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * by ISO/ANSI C and C++. Some compilers support it without setting __STDC__ 202d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * or __cplusplus so we need to carefully check for them too. 203d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 204d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 205d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \ 206d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid defined(__HP_aCC) || defined(__BORLANDC__) || defined(__LCC__) || \ 207d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid defined(__POCC__) || defined(__SALFORDC__) || defined(__HIGHC__) || \ 208d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid defined(__ILEC400__) 209d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid /* This compiler is believed to have an ISO compatible preprocessor */ 210d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#define CURL_ISOCPP 211d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#else 212d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid /* This compiler is believed NOT to have an ISO compatible preprocessor */ 213d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_ISOCPP 214d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 215d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 216d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 217d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Macros for minimum-width signed and unsigned curl_off_t integer constants. 218d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 219d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 220d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#ifdef CURL_ISOCPP 221d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# define __CURL_OFF_T_C_HELPER2(Val,Suffix) Val ## Suffix 222d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#else 223d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid# define __CURL_OFF_T_C_HELPER2(Val,Suffix) Val/**/Suffix 224d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif 225d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#define __CURL_OFF_T_C_HELPER1(Val,Suffix) __CURL_OFF_T_C_HELPER2(Val,Suffix) 226d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#define CURL_OFF_T_C(Val) __CURL_OFF_T_C_HELPER1(Val,CURL_SUFFIX_CURL_OFF_T) 227d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#define CURL_OFF_TU_C(Val) __CURL_OFF_T_C_HELPER1(Val,CURL_SUFFIX_CURL_OFF_TU) 228d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 229d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 230d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Get rid of macros private to this header file. 231d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 232d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 233d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CurlchkszEQ 234d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CurlchkszGE 235d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 236d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid/* 237d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid * Get rid of macros not intended to exist beyond this point. 238d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid */ 239d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 240d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_PULL_WS2TCPIP_H 241d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_PULL_SYS_TYPES_H 242d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_PULL_SYS_SOCKET_H 243d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_PULL_STDINT_H 244d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_PULL_INTTYPES_H 245d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 246d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_TYPEOF_CURL_SOCKLEN_T 247d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#undef CURL_TYPEOF_CURL_OFF_T 248d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid 249d9d863e153d12532fc85bd8b44bc47f079ed064cnealsid#endif /* __CURL_CURLRULES_H */ 250