msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined when including <math.h>.

This commit is contained in:
Rob Shearman 2008-09-25 16:44:29 +01:00 committed by Alexandre Julliard
parent 07ca2b4527
commit b1fccd9da9
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ sub _generate_dsp($$) {
print OUT " /c";
print OUT "\r\n";
my @defines2 = qw(_CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE USE_COMPILER_EXCEPTIONS);
my @defines2 = qw(_CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE USE_COMPILER_EXCEPTIONS _USE_MATH_DEFINES);
if($debug) {
if($lib) {
print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";