Fix for SDOCM00105727. extern "C" construct