Hello,
The best option in my opinion is to use the preprocessor variable _UCRT_LEGACY_INFINITY that has been added to the corecrt_math.h header:
That can be achieved by adding this line to the Build.cs file:
PublicDefinitions.Add("_UCRT_LEGACY_INFINITY");
