On Sat, Feb 24, 2024 at 11:25 AM Dmitriy Chestnykh dm.chestnykh@gmail.com wrote:
What name should we use instead of __ts? I suggest ____uclibc_ts_internal, it starts with four underscores, so it seems to be okay. As another option we can put these macroses inside some private header.
__ts looks good to me, it's the TO_TS64_P and TO_ITS64_P that don't look right. They are not a part of the libc interface, so I'd say they just shouldn't be in that header, but in some other, internal-use-only header instead. If there's no other place for them they should have at least the leading underscore.