Merge commit 'c6e89619794ed6307f9efb0b242a2cdb605e1dc3' into main

This commit is contained in:
Sam Lantinga 2022-10-23 16:34:38 -07:00
commit be3dc1acb5
1 changed files with 2 additions and 2 deletions

View File

@ -80,9 +80,9 @@
# include <ctype.h>
#endif
#ifdef HAVE_MATH_H
# if defined(__WINRT__)
# if defined(_MSC_VER)
/* Defining _USE_MATH_DEFINES is required to get M_PI to be defined on
WinRT. See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
Visual Studio. See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
for more information.
*/
# define _USE_MATH_DEFINES