Commit b1fccd9d authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined…

msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined when including <math.h>.
parent 07ca2b45
...@@ -627,7 +627,7 @@ sub _generate_dsp($$) { ...@@ -627,7 +627,7 @@ sub _generate_dsp($$) {
print OUT " /c"; print OUT " /c";
print OUT "\r\n"; 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($debug) {
if($lib) { if($lib) {
print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od"; print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment