| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c09c04f commit a9f1254
26 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,15 @@ | |||
| 1 | + # c-ares license | ||
| 2 | + | ||
| 3 | + Copyright (c) 2007 - 2016, Daniel Stenberg with many contributors, see AUTHORS | ||
| 4 | + file. | ||
| 5 | + | ||
| 6 | + Copyright 1998 by the Massachusetts Institute of Technology. | ||
| 7 | + | ||
| 8 | + Permission to use, copy, modify, and distribute this software and its | ||
| 9 | + documentation for any purpose and without fee is hereby granted, provided that | ||
| 10 | + the above copyright notice appear in all copies and that both that copyright | ||
| 11 | + notice and this permission notice appear in supporting documentation, and that | ||
| 12 | + the name of M.I.T. not be used in advertising or publicity pertaining to | ||
| 13 | + distribution of the software without specific, written prior permission. | ||
| 14 | + M.I.T. makes no representations about the suitability of this software for any | ||
| 15 | + purpose. It is provided "as is" without express or implied warranty. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,6 +111,7 @@ | |||
| 111 | 111 | 'defines': [ 'CARES_BUILDING_LIBRARY' ] | |
| 112 | 112 | }], | |
| 113 | 113 | [ 'OS=="win"', { | |
| 114 | + 'defines': [ 'CARES_PULL_WS2TCPIP_H=1' ], | ||
| 114 | 115 | 'include_dirs': [ 'config/win32' ], | |
| 115 | 116 | 'sources': [ | |
| 116 | 117 | 'src/config-win32.h', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,21 +10,24 @@ | |||
| 10 | 10 | /* when building as static part of libcurl */ | |
| 11 | 11 | /* #undef BUILDING_LIBCURL */ | |
| 12 | 12 | ||
| 13 | - /* when building c-ares library */ | ||
| 14 | - /* #undef CARES_BUILDING_LIBRARY */ | ||
| 13 | + /* Defined for build that exposes internal static functions for testing. */ | ||
| 14 | + /* #undef CARES_EXPOSE_STATICS */ | ||
| 15 | 15 | ||
| 16 | - /* when not building a shared library */ | ||
| 17 | - /* #undef CARES_STATICLIB */ | ||
| 18 | - | ||
| 19 | - /* Define to 1 to enable hiding of library internal symbols. */ | ||
| 20 | - #define CARES_SYMBOL_HIDING 1 | ||
| 16 | + /* Defined for build with symbol hiding. */ | ||
| 17 | + /* #undef CARES_SYMBOL_HIDING */ | ||
| 21 | 18 | ||
| 22 | 19 | /* Definition to make a library symbol externally visible. */ | |
| 23 | - #define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((visibility ("default"))) | ||
| 20 | + /* #undef CARES_SYMBOL_SCOPE_EXTERN */ | ||
| 21 | + | ||
| 22 | + /* Use resolver library to configure cares */ | ||
| 23 | + /* #undef CARES_USE_LIBRESOLV */ | ||
| 24 | 24 | ||
| 25 | 25 | /* if a /etc/inet dir is being used */ | |
| 26 | 26 | /* #undef ETC_INET */ | |
| 27 | 27 | ||
| 28 | + /* Define to the type of arg 2 for gethostname. */ | ||
| 29 | + #define GETHOSTNAME_TYPE_ARG2 size_t | ||
| 30 | + | ||
| 28 | 31 | /* Define to the type qualifier of arg 1 for getnameinfo. */ | |
| 29 | 32 | #define GETNAMEINFO_QUAL_ARG1 const | |
| 30 | 33 | ||
@@ -79,6 +82,9 @@ | |||
| 79 | 82 | /* Define to 1 if you have the connect function. */ | |
| 80 | 83 | #define HAVE_CONNECT 1 | |
| 81 | 84 | ||
| 85 | + /* define if the compiler supports basic C++11 syntax */ | ||
| 86 | + #define HAVE_CXX11 1 | ||
| 87 | + | ||
| 82 | 88 | /* Define to 1 if you have the <dlfcn.h> header file. */ | |
| 83 | 89 | #define HAVE_DLFCN_H 1 | |
| 84 | 90 | ||
@@ -103,6 +109,9 @@ | |||
| 103 | 109 | /* Define to 1 if the getaddrinfo function is threadsafe. */ | |
| 104 | 110 | #define HAVE_GETADDRINFO_THREADSAFE 1 | |
| 105 | 111 | ||
| 112 | + /* Define to 1 if you have the getenv function. */ | ||
| 113 | + #define HAVE_GETENV 1 | ||
| 114 | + | ||
| 106 | 115 | /* Define to 1 if you have the gethostbyaddr function. */ | |
| 107 | 116 | #define HAVE_GETHOSTBYADDR 1 | |
| 108 | 117 | ||
@@ -124,11 +133,8 @@ | |||
| 124 | 133 | /* Define to 1 if you have the `if_indextoname' function. */ | |
| 125 | 134 | #define HAVE_IF_INDEXTONAME 1 | |
| 126 | 135 | ||
| 127 | - /* Define to 1 if you have the `inet_net_pton' function. */ | ||
| 128 | - #define HAVE_INET_NET_PTON 1 | ||
| 129 | - | ||
| 130 | - /* Define to 1 if inet_net_pton supports IPv6. */ | ||
| 131 | - /* #undef HAVE_INET_NET_PTON_IPV6 */ | ||
| 136 | + /* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ | ||
| 137 | + /* #undef HAVE_INET_NET_PTON */ | ||
| 132 | 138 | ||
| 133 | 139 | /* Define to 1 if you have a IPv6 capable working inet_ntop function. */ | |
| 134 | 140 | #define HAVE_INET_NTOP 1 | |
@@ -329,13 +335,9 @@ | |||
| 329 | 335 | /* Define to 1 if you have the ws2tcpip.h header file. */ | |
| 330 | 336 | /* #undef HAVE_WS2TCPIP_H */ | |
| 331 | 337 | ||
| 332 | - /* Define to the sub-directory in which libtool stores uninstalled libraries. | ||
| 333 | - */ | ||
| 338 | + /* Define to the sub-directory where libtool stores uninstalled libraries. */ | ||
| 334 | 339 | #define LT_OBJDIR ".libs/" | |
| 335 | 340 | ||
| 336 | - /* Define to 1 if you are building a native Windows target. */ | ||
| 337 | - /* #undef NATIVE_WINDOWS */ | ||
| 338 | - | ||
| 339 | 341 | /* Define to 1 if you need the malloc.h header file even with stdlib.h */ | |
| 340 | 342 | /* #undef NEED_MALLOC_H */ | |
| 341 | 343 | ||
@@ -348,23 +350,20 @@ | |||
| 348 | 350 | /* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ | |
| 349 | 351 | #define NEED_THREAD_SAFE 1 | |
| 350 | 352 | ||
| 351 | - /* Define to 1 if your C compiler doesn't accept -c and -o together. */ | ||
| 352 | - /* #undef NO_MINUS_C_MINUS_O */ | ||
| 353 | - | ||
| 354 | 353 | /* cpu-machine-OS */ | |
| 355 | - #define OS "rs6000-ibm-aix" | ||
| 354 | + #define OS "powerpc-ibm-aix6.1.9.0" | ||
| 356 | 355 | ||
| 357 | 356 | /* Name of package */ | |
| 358 | 357 | #define PACKAGE "c-ares" | |
| 359 | 358 | ||
| 360 | 359 | /* Define to the address where bug reports for this package should be sent. */ | |
| 361 | - #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | ||
| 360 | + #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares" | ||
| 362 | 361 | ||
| 363 | 362 | /* Define to the full name of this package. */ | |
| 364 | 363 | #define PACKAGE_NAME "c-ares" | |
| 365 | 364 | ||
| 366 | 365 | /* Define to the full name and version of this package. */ | |
| 367 | - #define PACKAGE_STRING "c-ares 1.7.1" | ||
| 366 | + #define PACKAGE_STRING "c-ares 1.12.0" | ||
| 368 | 367 | ||
| 369 | 368 | /* Define to the one symbol short name of this package. */ | |
| 370 | 369 | #define PACKAGE_TARNAME "c-ares" | |
@@ -373,11 +372,14 @@ | |||
| 373 | 372 | #define PACKAGE_URL "" | |
| 374 | 373 | ||
| 375 | 374 | /* Define to the version of this package. */ | |
| 376 | - #define PACKAGE_VERSION "1.7.1" | ||
| 375 | + #define PACKAGE_VERSION "1.12.0" | ||
| 377 | 376 | ||
| 378 | 377 | /* a suitable file/device to read random data from */ | |
| 379 | 378 | #define RANDOM_FILE "/dev/urandom" | |
| 380 | 379 | ||
| 380 | + /* Define to the type qualifier pointed by arg 5 for recvfrom. */ | ||
| 381 | + #define RECVFROM_QUAL_ARG5 | ||
| 382 | + | ||
| 381 | 383 | /* Define to the type of arg 1 for recvfrom. */ | |
| 382 | 384 | #define RECVFROM_TYPE_ARG1 int | |
| 383 | 385 | ||
@@ -444,24 +446,6 @@ | |||
| 444 | 446 | /* Define to the function return type for send. */ | |
| 445 | 447 | #define SEND_TYPE_RETV ssize_t | |
| 446 | 448 | ||
| 447 | - /* The size of `int', as computed by sizeof. */ | ||
| 448 | - #define SIZEOF_INT 4 | ||
| 449 | - | ||
| 450 | - /* The size of `long', as computed by sizeof. */ | ||
| 451 | - #define SIZEOF_LONG 4 | ||
| 452 | - | ||
| 453 | - /* The size of `size_t', as computed by sizeof. */ | ||
| 454 | - #define SIZEOF_SIZE_T 4 | ||
| 455 | - | ||
| 456 | - /* The size of `struct in6_addr', as computed by sizeof. */ | ||
| 457 | - #define SIZEOF_STRUCT_IN6_ADDR 16 | ||
| 458 | - | ||
| 459 | - /* The size of `struct in_addr', as computed by sizeof. */ | ||
| 460 | - #define SIZEOF_STRUCT_IN_ADDR 4 | ||
| 461 | - | ||
| 462 | - /* The size of `time_t', as computed by sizeof. */ | ||
| 463 | - #define SIZEOF_TIME_T 4 | ||
| 464 | - | ||
| 465 | 449 | /* Define to 1 if you have the ANSI C header files. */ | |
| 466 | 450 | #define STDC_HEADERS 1 | |
| 467 | 451 | ||
@@ -472,7 +456,7 @@ | |||
| 472 | 456 | /* #undef USE_BLOCKING_SOCKETS */ | |
| 473 | 457 | ||
| 474 | 458 | /* Version number of package */ | |
| 475 | - #define VERSION "1.7.1" | ||
| 459 | + #define VERSION "1.12.0" | ||
| 476 | 460 | ||
| 477 | 461 | /* Define to avoid automatic inclusion of winsock.h */ | |
| 478 | 462 | /* #undef WIN32_LEAN_AND_MEAN */ | |
@@ -494,6 +478,11 @@ | |||
| 494 | 478 | # define _ALL_SOURCE 1 | |
| 495 | 479 | #endif | |
| 496 | 480 | ||
| 481 | + /* Enable large inode numbers on Mac OS X 10.5. */ | ||
| 482 | + #ifndef _DARWIN_USE_64_BIT_INODE | ||
| 483 | + # define _DARWIN_USE_64_BIT_INODE 1 | ||
| 484 | + #endif | ||
| 485 | + | ||
| 497 | 486 | /* Number of bits in a file offset, on hosts where this is settable. */ | |
| 498 | 487 | /* #undef _FILE_OFFSET_BITS */ | |
| 499 | 488 | ||
@@ -511,5 +500,3 @@ | |||
| 511 | 500 | ||
| 512 | 501 | /* the signed version of size_t */ | |
| 513 | 502 | /* #undef ssize_t */ | |
| 514 | - | ||
| 515 | - #define HAVE_GETENV 1 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments