Review Request 115344: With MSVC M_PI only gets defined if _USE_MATH_DEFINES is defined
Alexander Richardson
arichardson.kde at googlemail.com
Mon Jan 27 22:22:52 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115344/
-----------------------------------------------------------
(Updated Jan. 27, 2014, 11:22 p.m.)
Review request for KDE Frameworks.
Changes
-------
Do the check in CMakeLists.txt instead of the source file
Repository: kunitconversion
Description
-------
With MSVC M_PI only gets defined if _USE_MATH_DEFINES is defined
Is it okay to put the define in the source file, or should I rather put it in the CMake code?
Diffs (updated)
-----
src/CMakeLists.txt aefd6abe964d19177a3514f9c01022141af0425b
Diff: https://git.reviewboard.kde.org/r/115344/diff/
Testing
-------
didn't compile before, does now
Thanks,
Alexander Richardson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140127/84f5faa6/attachment.html>
More information about the Kde-frameworks-devel
mailing list