[analitza] Set the needed macros for math.h to provide M_PI on Windows

Review Request #119000 - Created June 28, 2014 and submitted

Information
Nicolás Alvarez
analitza
kf5
Reviewers
kdeedu, kdewin

Set the needed macros for math.h to provide M_PI on Windows

MSVC needs _USE_MATH_DEFINES:
See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx

And MinGW needs either _BSD_SOURCE or _GNU_SOURCE.

Builds on MSVC2013 and MinGW4.

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
Please enable it also for mingw, so WIN32 instead of MSVC. Hannah von Reth Hannah von Reth
Nicolás Alvarez
Hannah von Reth
Aleix Pol Gonzalez
Nicolás Alvarez
Aleix Pol Gonzalez
Nicolás Alvarez
Review request changed

Status: Closed (submitted)

Loading...