Skip to content

contrib: Fix the check for _UCRT

_UCRT is not a compiler internal define. Some wrappers may be invoking the compiler with -D_UCRT, but if not, the toolchain default is set by the toolchain headers. Therefore, include stdlib.h to pull in default headers for checking whether it is set or not.

Merge request reports

Loading