Module: wine Branch: master Commit: b1fccd9da9cd23bbb9ddfc36c1062c221159310f URL: http://source.winehq.org/git/wine.git/?a=commit;h=b1fccd9da9cd23bbb9ddfc36c1...
Author: Rob Shearman robertshearman@gmail.com Date: Thu Sep 25 16:44:29 2008 +0100
msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined when including <math.h>.
---
tools/winapi/msvcmaker | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index fc7d022..1fec041 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -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";