curlbuild.cmake.h.in 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. #ifndef __CURL_CURLBUILD_H
  2. #define __CURL_CURLBUILD_H
  3. /***************************************************************************
  4. * _ _ ____ _
  5. * Project ___| | | | _ \| |
  6. * / __| | | | |_) | |
  7. * | (__| |_| | _ <| |___
  8. * \___|\___/|_| \_\_____|
  9. *
  10. * Copyright (C) 1998 - 2008, Daniel Stenberg, <[email protected]>, et al.
  11. *
  12. * This software is licensed as described in the file COPYING, which
  13. * you should have received as part of this distribution. The terms
  14. * are also available at http://curl.haxx.se/docs/copyright.html.
  15. *
  16. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  17. * copies of the Software, and permit persons to whom the Software is
  18. * furnished to do so, under the terms of the COPYING file.
  19. *
  20. * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  21. * KIND, either express or implied.
  22. *
  23. * $Id$
  24. ***************************************************************************/
  25. /* ================================================================ */
  26. /* NOTES FOR CONFIGURE CAPABLE SYSTEMS */
  27. /* ================================================================ */
  28. /*
  29. * NOTE 1:
  30. * -------
  31. *
  32. * Nothing in this file is intended to be modified or adjusted by the
  33. * curl library user nor by the curl library builder.
  34. *
  35. * If you think that something actually needs to be changed, adjusted
  36. * or fixed in this file, then, report it on the libcurl development
  37. * mailing list: http://cool.haxx.se/mailman/listinfo/curl-library/
  38. *
  39. * This header file shall only export symbols which are 'curl' or 'CURL'
  40. * prefixed, otherwise public name space would be polluted.
  41. *
  42. * NOTE 2:
  43. * -------
  44. *
  45. * Right now you might be staring at file include/curl/curlbuild.h.in or
  46. * at file include/curl/curlbuild.h, this is due to the following reason:
  47. *
  48. * On systems capable of running the configure script, the configure process
  49. * will overwrite the distributed include/curl/curlbuild.h file with one that
  50. * is suitable and specific to the library being configured and built, which
  51. * is generated from the include/curl/curlbuild.h.in template file.
  52. *
  53. */
  54. /* ================================================================ */
  55. /* DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE */
  56. /* ================================================================ */
  57. #ifdef CURL_SIZEOF_LONG
  58. # error "CURL_SIZEOF_LONG shall not be defined except in curlbuild.h"
  59. Error Compilation_aborted_CURL_SIZEOF_LONG_already_defined
  60. #endif
  61. #ifdef CURL_TYPEOF_CURL_OFF_T
  62. # error "CURL_TYPEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
  63. Error Compilation_aborted_CURL_TYPEOF_CURL_OFF_T_already_defined
  64. #endif
  65. #ifdef CURL_FORMAT_CURL_OFF_T
  66. # error "CURL_FORMAT_CURL_OFF_T shall not be defined except in curlbuild.h"
  67. Error Compilation_aborted_CURL_FORMAT_CURL_OFF_T_already_defined
  68. #endif
  69. #ifdef CURL_FORMAT_CURL_OFF_TU
  70. # error "CURL_FORMAT_CURL_OFF_TU shall not be defined except in curlbuild.h"
  71. Error Compilation_aborted_CURL_FORMAT_CURL_OFF_TU_already_defined
  72. #endif
  73. #ifdef CURL_FORMAT_OFF_T
  74. # error "CURL_FORMAT_OFF_T shall not be defined except in curlbuild.h"
  75. Error Compilation_aborted_CURL_FORMAT_OFF_T_already_defined
  76. #endif
  77. #ifdef CURL_SIZEOF_CURL_OFF_T
  78. # error "CURL_SIZEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
  79. Error Compilation_aborted_CURL_SIZEOF_CURL_OFF_T_already_defined
  80. #endif
  81. #ifdef CURL_SUFFIX_CURL_OFF_T
  82. # error "CURL_SUFFIX_CURL_OFF_T shall not be defined except in curlbuild.h"
  83. Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_T_already_defined
  84. #endif
  85. #ifdef CURL_SUFFIX_CURL_OFF_TU
  86. # error "CURL_SUFFIX_CURL_OFF_TU shall not be defined except in curlbuild.h"
  87. Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_TU_already_defined
  88. #endif
  89. /* ================================================================ */
  90. /* EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY */
  91. /* ================================================================ */
  92. /* Configure process defines this to 1 when it finds out that system */
  93. /* header file sys/types.h must be included by the external interface. */
  94. #undef CURL_PULL_SYS_TYPES_H
  95. #ifdef CURL_PULL_SYS_TYPES_H
  96. # include <sys/types.h>
  97. #endif
  98. /* Configure process defines this to 1 when it finds out that system */
  99. /* header file stdint.h must be included by the external interface. */
  100. #undef CURL_PULL_STDINT_H
  101. #ifdef CURL_PULL_STDINT_H
  102. # include <stdint.h>
  103. #endif
  104. /* Configure process defines this to 1 when it finds out that system */
  105. /* header file inttypes.h must be included by the external interface. */
  106. #undef CURL_PULL_INTTYPES_H
  107. #ifdef CURL_PULL_INTTYPES_H
  108. # include <inttypes.h>
  109. #endif
  110. /* The size of `long', as computed by sizeof. */
  111. #cmakedefine CURL_SIZEOF_LONG @CURL_SIZEOF_LONG@
  112. /* Signed integral data type used for curl_off_t. */
  113. #cmakedefine CURL_TYPEOF_CURL_OFF_T @CURL_TYPEOF_CURL_OFF_T@
  114. /* Data type definition of curl_off_t. */
  115. typedef CURL_TYPEOF_CURL_OFF_T curl_off_t;
  116. /* curl_off_t formatting string directive without "%" conversion specifier. */
  117. #cmakedefine CURL_FORMAT_CURL_OFF_T "@CURL_FORMAT_CURL_OFF_T@"
  118. /* unsigned curl_off_t formatting string without "%" conversion specifier. */
  119. #cmakedefine CURL_FORMAT_CURL_OFF_TU "@CURL_FORMAT_CURL_OFF_TU@"
  120. /* curl_off_t formatting string directive with "%" conversion specifier. */
  121. #define CURL_FORMAT_OFF_T "%@CURL_FORMAT_CURL_OFF_TU@"
  122. /* The size of `curl_off_t', as computed by sizeof. */
  123. #cmakedefine CURL_SIZEOF_CURL_OFF_T @CURL_SIZEOF_CURL_OFF_T@
  124. /* curl_off_t constant suffix. */
  125. #cmakedefine CURL_SUFFIX_CURL_OFF_T @CURL_SUFFIX_CURL_OFF_T@
  126. /* unsigned curl_off_t constant suffix. */
  127. #cmakedefine CURL_SUFFIX_CURL_OFF_TU @CURL_SUFFIX_CURL_OFF_TU@
  128. #endif /* __CURL_CURLBUILD_H */