[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

@ -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)