On 2020-11-24 01:52, Dagfinn Ilmari Mannsåker wrote:
> The Clang documentation¹ suggest an even neater solution, which would
> eliminate the repetitive empty pg_attribute_foo #defines in the trailing
> #else/#endif block in commit 1fa22a43a56e1fe44c7bb3a3d5ef31be5bcac41d:
>
> #ifndef __has_attribute
> #define __has_attribute(x) 0
> #endif
Yes, this was also mentioned and agreed earlier in the thread, but then
we apparently forgot to update the patch.
--
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/