{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1738237372,"commit_time":1738605890,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"671e83f0b13e92538dd46f5c22b845516a2b58c9","message":"c-ares: fix/tidy-up macro initializations, avoid a deprecated function\n\n- replace deprecated `ares_init()` call with `ares_init_options()`.\n  Follow-up to 0d4fdbf15d8eec908b3e63b606f112b18a63015e #16054\n\n- dedupe `CARES_STATICLIB` initalizations into `curl_setup.h`, to\n  ensure it's defined before the first (and every) `ares.h` include and\n  avoid a potential confusion.\n\n- move `CARES_NO_DEPRECATED` from build level to `curl_setup.h`.\n  To work regardless of build system.\n  It is necessary because curl calls `ares_getsock()` from two places,\n  of which one feeds a chain of wrappers: `Curl_ares_getsock()`,\n  `Curl_resolver_getsock()`, `Curl_resolv_getsock()`.\n\nCloses #16131\n","parents":["4f95f327093bef29a4f8fe188edc6c95f49980a5"],"tree_hash":"dd251308d8fd6a73b8af1e2ac9cbb44e3044d602"}