upnpconfig.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /* upnp/inc/upnpconfig.h. Generated from upnpconfig.h.in by configure. */
  2. /* -*- C -*- */
  3. /*******************************************************************************
  4. *
  5. * Copyright (c) 2006 Rémi Turboult <r3mi@users.sourceforge.net>
  6. * All rights reserved.
  7. *
  8. * Redistribution and use in source and binary forms, with or without
  9. * modification, are permitted provided that the following conditions are met:
  10. *
  11. * * Redistributions of source code must retain the above copyright notice,
  12. * this list of conditions and the following disclaimer.
  13. * * Redistributions in binary form must reproduce the above copyright notice,
  14. * this list of conditions and the following disclaimer in the documentation
  15. * and/or other materials provided with the distribution.
  16. * * Neither name of Intel Corporation nor the names of its contributors
  17. * may be used to endorse or promote products derived from this software
  18. * without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR
  24. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  25. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  26. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  27. * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
  28. * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  29. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  30. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. ******************************************************************************/
  33. #ifndef UPNP_CONFIG_H
  34. #define UPNP_CONFIG_H
  35. /***************************************************************************
  36. * Library version
  37. ***************************************************************************/
  38. /** The library version (string) e.g. "1.3.0" */
  39. #define UPNP_VERSION_STRING "1.6.24"
  40. /** Major version of the library */
  41. #define UPNP_VERSION_MAJOR 1
  42. /** Minor version of the library */
  43. #define UPNP_VERSION_MINOR 6
  44. /** Patch version of the library */
  45. #define UPNP_VERSION_PATCH 24
  46. /** The library version (numeric) e.g. 10300 means version 1.3.0 */
  47. #define UPNP_VERSION \
  48. ((UPNP_VERSION_MAJOR * 100 + UPNP_VERSION_MINOR) * 100 + UPNP_VERSION_PATCH)
  49. /***************************************************************************
  50. * Large file support
  51. ***************************************************************************/
  52. /** File Offset size */
  53. #define _FILE_OFFSET_BITS 64
  54. /** Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
  55. #define _LARGEFILE_SOURCE 1
  56. /** Large files support */
  57. #define _LARGE_FILE_SOURCE /**/
  58. /***************************************************************************
  59. * Library optional features
  60. ***************************************************************************/
  61. /*
  62. * The following defines can be tested in order to know which
  63. * optional features have been included in the installed library.
  64. */
  65. /** Defined to 1 if the library has been compiled with DEBUG enabled
  66. * (i.e. configure --enable-debug) : <upnp/upnpdebug.h> file is available */
  67. /* #undef UPNP_HAVE_DEBUG */
  68. /** Defined to 1 if the library has been compiled with client API enabled
  69. * (i.e. configure --enable-client) */
  70. #define UPNP_HAVE_CLIENT 1
  71. /** Defined to 1 if the library has been compiled with device API enabled
  72. * (i.e. configure --enable-device) */
  73. #define UPNP_HAVE_DEVICE 1
  74. /** Defined to 1 if the library has been compiled with integrated web server
  75. * (i.e. configure --enable-webserver --enable-device) */
  76. #define UPNP_HAVE_WEBSERVER 1
  77. /** Defined to 1 if the library has been compiled with the SSDP part enabled
  78. * (i.e. configure --enable-ssdp) */
  79. #define UPNP_HAVE_SSDP 1
  80. /** Defined to 1 if the library has been compiled with optional SSDP headers
  81. * support (i.e. configure --enable-optssdp) */
  82. #define UPNP_HAVE_OPTSSDP 1
  83. /** Defined to 1 if the library has been compiled with the SOAP part enabled
  84. * (i.e. configure --enable-soap) */
  85. #define UPNP_HAVE_SOAP 1
  86. /** Defined to 1 if the library has been compiled with the GENA part enabled
  87. * (i.e. configure --enable-gena) */
  88. #define UPNP_HAVE_GENA 1
  89. /** Defined to 1 if the library has been compiled with helper API
  90. * (i.e. configure --enable-tools) : <upnp/upnptools.h> file is available */
  91. #define UPNP_HAVE_TOOLS 1
  92. /** Defined to 1 if the library has been compiled with ipv6 support
  93. * (i.e. configure --enable-ipv6) */
  94. /* #undef UPNP_ENABLE_IPV6 */
  95. /** Defined to 1 if the library has been compiled with unspecified SERVER
  96. * header (i.e. configure --enable-unspecified_server) */
  97. /* #undef UPNP_ENABLE_UNSPECIFIED_SERVER */
  98. /** Defined to 1 if the library has been compiled with OpenSSL support
  99. * (i.e. configure --enable-open_ssl) */
  100. /* #undef UPNP_ENABLE_OPEN_SSL */
  101. /** Defined to 1 if the library has been compiled to support filesystem writes on POST
  102. * (i.e. configure --enable-postwrite) */
  103. /* #undef UPNP_ENABLE_POST_WRITE */
  104. #endif /* UPNP_CONFIG_H */