diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-05-12 00:32:14 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-05-12 10:46:57 +0200 |
commit | 7e1c0e75ed6a7833a8a653936b8897f64bd0006d (patch) | |
tree | c20d5cb0cf4e9f1a1cd786e9ffdb80d21e02704a /deps/cares/src/ares_rules.h | |
parent | 36cdc7c8acda2a81a9e38df4978876659dc48bc3 (diff) | |
download | android-node-v8-7e1c0e75ed6a7833a8a653936b8897f64bd0006d.tar.gz android-node-v8-7e1c0e75ed6a7833a8a653936b8897f64bd0006d.tar.bz2 android-node-v8-7e1c0e75ed6a7833a8a653936b8897f64bd0006d.zip |
deps: sync with upstream bagder/c-ares@bba4dc5
Fixes: https://github.com/iojs/io.js/issues/1676
PR-URL: https://github.com/iojs/io.js/pull/1678
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'deps/cares/src/ares_rules.h')
-rw-r--r-- | deps/cares/src/ares_rules.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/deps/cares/src/ares_rules.h b/deps/cares/src/ares_rules.h index f94c5b5916..44f08f807c 100644 --- a/deps/cares/src/ares_rules.h +++ b/deps/cares/src/ares_rules.h @@ -68,11 +68,6 @@ * Verify that some macros are actually defined. */ -#ifndef CARES_SIZEOF_LONG -# error "CARES_SIZEOF_LONG definition is missing!" - Error Compilation_aborted_CARES_SIZEOF_LONG_is_missing -#endif - #ifndef CARES_TYPEOF_ARES_SOCKLEN_T # error "CARES_TYPEOF_ARES_SOCKLEN_T definition is missing!" Error Compilation_aborted_CARES_TYPEOF_ARES_SOCKLEN_T_is_missing @@ -92,15 +87,6 @@ #define CareschkszGE(t1, t2) sizeof(t1) >= sizeof(t2) ? 1 : -1 /* - * Verify that the size previously defined and expected for long - * is the same as the one reported by sizeof() at compile time. - */ - -typedef char - __cares_rule_01__ - [CareschkszEQ(long, CARES_SIZEOF_LONG)]; - -/* * Verify that the size previously defined and expected for * ares_socklen_t is actually the the same as the one reported * by sizeof() at compile time. |