{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1753621748,"commit_time":1753635240,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"08f97cbf5c632d103bfa5bdf8558ba43d9147c1a","message":"doh: rename symbols to avoid collision with mingw-w64 headers\n\nCollision happens when building with mingw-w64 v3 or v2 while targeting\nVista or newer. `iphlpapi.h` includes `windns.h` in this case, which\ndefines macros named `DNS_TYPE_*`, colliding with curl doh enums.\n\nThe issue was fixed in mingw-w64 v4:\nhttps://github.com/mirror/mingw-w64/commit/ea95d55e3387353e453d6ae8fc5cb8f7503947c2\n\nFixes:\n```\nlib/doh.h:54:3: error: expected identifier before numeric constant\n   DNS_TYPE_A = 1,\n   ^\n```\nRef: https://github.com/curl/curl/actions/runs/16551209676/job/46806303365?pr=18009#step:10:17\n\nThis workaround seems harmless and generally good practice, but\nanother option is to require mingw-w64 v4.\n\nRef: #18009\nCloses #18041\n","parents":["6080143f9d4f198901792f1365123f9aad166446"],"tree_hash":"3668905a5f83de63eb4d579959620cf21e80b636"}