include/msvcrt: Define math constants by default, for compatibility with Mingw.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-04-22 12:46:09 +02:00
parent 5431409bd3
commit b9ae3bf095
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ short __cdecl _dclass(double);
#include <poppack.h> #include <poppack.h>
#ifdef _USE_MATH_DEFINES #if !defined(__STRICT_ANSI__) || defined(_POSIX_C_SOURCE) || defined(_POSIX_SOURCE) || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_USE_MATH_DEFINES)
#ifndef _MATH_DEFINES_DEFINED #ifndef _MATH_DEFINES_DEFINED
#define _MATH_DEFINES_DEFINED #define _MATH_DEFINES_DEFINED
#define M_E 2.71828182845904523536 #define M_E 2.71828182845904523536