diff options
author | Rod Vagg <rod@vagg.org> | 2016-10-28 14:40:47 +1100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-10-02 01:16:06 -0300 |
commit | a9f125449e61457cbbad79fbae766b603b861d1b (patch) | |
tree | 2d41cd0419590560a5c690d95dacb4a4e82ab9a4 /deps/cares/src/config-win32.h | |
parent | c09c04fc5ccae787e1a6aaa30468bb9bd552f528 (diff) | |
download | android-node-v8-a9f125449e61457cbbad79fbae766b603b861d1b.tar.gz android-node-v8-a9f125449e61457cbbad79fbae766b603b861d1b.tar.bz2 android-node-v8-a9f125449e61457cbbad79fbae766b603b861d1b.zip |
deps: upgrade to c-ares v1.12.0
Updated with manual config for Android
Updated with automatic for sunos, *bsd, darwin, linux, aix
PR-URL: https://github.com/nodejs/node/pull/15378
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'deps/cares/src/config-win32.h')
-rw-r--r-- | deps/cares/src/config-win32.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/deps/cares/src/config-win32.h b/deps/cares/src/config-win32.h index 1245ba2abb..dd955252bd 100644 --- a/deps/cares/src/config-win32.h +++ b/deps/cares/src/config-win32.h @@ -211,6 +211,11 @@ /* Define to the return type of signal handlers (int or void). */ #define RETSIGTYPE void +#ifdef __cplusplus +/* Compiling headers in C++ mode means bool is available */ +#define HAVE_BOOL_T +#endif + /* Define if ssize_t is not an available 'typedefed' type. */ #ifndef _SSIZE_T_DEFINED # if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \ @@ -229,19 +234,6 @@ /* TYPE SIZES */ /* ---------------------------------------------------------------- */ -/* Define to the size of `int', as computed by sizeof. */ -#define SIZEOF_INT 4 - -/* Define to the size of `short', as computed by sizeof. */ -#define SIZEOF_SHORT 2 - -/* Define to the size of `size_t', as computed by sizeof. */ -#if defined(_WIN64) -# define SIZEOF_SIZE_T 8 -#else -# define SIZEOF_SIZE_T 4 -#endif - /* ---------------------------------------------------------------- */ /* STRUCT RELATED */ /* ---------------------------------------------------------------- */ |