This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Rename pwait for LynxOS
> if we detect pwait to be already taken.
You're still missing a key point. You CANNOT use autodetection to
change the API of libiberty AT ALL.
Thus, we either always rename it, always don't, or always provide
both. There is no "if we detect it" here.
Add that to the fact that we've been providing pwait() for a while now
and we have a mess to deal with.
Why is libc's pwait() getting pulled in at all? If libiberty is
providing one, there's no reason for libc's pwait() to be needed.