[OpenMP] Fix the usage of sscanf on MinGW
authorMartin Storsjö <martin@martin.st>
Tue, 17 Aug 2021 10:15:49 +0000 (13:15 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 17 Aug 2021 18:36:09 +0000 (21:36 +0300)
commitf5616a981c60c619393c92d6180f128e934a36c9
treef0f874f2c33494a5009574cb67dd0feba5a92189
parent18e06e3e2f3d47433e1ed323b8725c76035fc1ac
[OpenMP] Fix the usage of sscanf on MinGW

KMP_SSCANF only evaluates to sscanf_s within
    #if KMP_OS_WINDOWS && KMP_MSVC_COMPAT
so we need to pass the sscanf_s specific parameters within a similar
condition.

Differential Revision: https://reviews.llvm.org/D108196
openmp/runtime/src/kmp_settings.cpp