[UCRT] Fix MSVC compiling on VS 2017 after Timo's UCRT commits (#7718)

CORE-19996
Verified using https://godbolt.org.
This commit is contained in:
Doug Lyons 2025-02-15 20:03:52 -06:00 committed by GitHub
parent a1157f86f2
commit 45ed1a9b6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@
#include <math.h>
#include <stdint.h>
#ifdef _MSC_VER
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
#pragma function(_dclass)
#endif

View file

@ -10,7 +10,7 @@
#include <math.h>
#ifdef _MSC_VER
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
#pragma function(_dtest)
#endif

View file

@ -11,7 +11,7 @@
#include <math.h>
#include <stdint.h>
#ifdef _MSC_VER
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
#pragma function(_fdclass)
#endif

View file

@ -10,7 +10,7 @@
#include <math.h>
#ifdef _MSC_VER
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
#pragma function(_fdtest)
#endif

View file

@ -9,7 +9,7 @@
#include <stdlib.h>
#ifdef _MSC_VER
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
#pragma function(div)
#endif
extern "C" div_t __cdecl div(int const numerator, int const denominator)

View file

@ -9,7 +9,7 @@
#include <stdlib.h>
#ifdef _MSC_VER
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
#pragma function(ldiv)
#endif
extern "C" ldiv_t __cdecl ldiv(long const numerator, long const denominator)

View file

@ -9,7 +9,7 @@
#include <stdlib.h>
#ifdef _MSC_VER
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
#pragma function(lldiv)
#endif
extern "C" lldiv_t __cdecl lldiv(long long const numerator, long long const denominator)