Jakub> If it is done in the library, it will be defined only if any of the library Jakub> headers are included. Jakub> The https://eel.is/c++draft/cpp.predefined wording doesn't look like it Jakub> would allow defining it only if certain headers are included Jakub> (unlike e.g. the __cpp_lib_* macros which have associated list of headers Jakub> that should define those).
Also I was wondering if there's a C analogue. I found http://www.open-std.org/jtc1/sc22/WG14/www/docs/n2069.pdf but I have no idea whether this is just a paper or was adopted. Tom