The OSS patch results in unconditionnaly undefined behaviour, not to mention that I do not see the point disabling calls mandatory in the OSSv4 specification.
The thread patch makes no sense to me since _POSIX_TIMERS <= 0 is already addressed at the beginning of the file.
The VCD patch does not seem to make any sense either.