{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1740528043,"commit_time":1740571831,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"dbbbf717f3a39ab8fc0c996450e699a3a8d46fe5","message":"curl.h: stop defining non-curl `__has_declspec_attribute`\n\nPublic curl headers are best not to define 3rd-party or system macros.\nIntroduce `CURL_HAS_DECLSPEC_ATTRIBUTE` to cover this system macro and\nuse it.\n\nDetected by test1167 after dropping the indentation:\n```\ntest 1167...[Verify curl prefix of public symbols in header files]\n\n/usr/bin/perl -I. -I.  returned 1, when expecting 0\n 1167: exit FAILED\n== Contents of files in the log/10/ dir after test 1167\n=== Start of file server.cmd\n Testnum 1167\n=== End of file server.cmd\n=== Start of file stdout1167\n Bad symbols in public header files:\n   __has_declspec_attribute(x)\n=== End of file stdout1167\n```\nRef: https://github.com/curl/curl/actions/runs/13533200900/job/37819784405?pr=16490#step:42:2087\n\nRef: https://clang.llvm.org/docs/LanguageExtensions.html#has-declspec-attribute\nFollow-up to 50482b8c0a2cf5315e66d182998c8fc4901ffb2d #3616\nRef: #16496 (fixing test1167)\nCloses #16491\n","parents":["3efc53f5e9e69696aff40041dfe563160b73e938"],"tree_hash":"ff4ee9a6b499da441c3bf1b8110f0ed8ffeccd7c"}