[Mesa-dev] [PATCH 02/10] mesa: remove M_PI, M_E, M_LOG2E macro definitions

Matt Turner mattst88 at gmail.com
Wed Feb 25 19:24:41 PST 2015


On Wed, Feb 25, 2015 at 5:29 PM, Brian Paul <brianp at vmware.com> wrote:
> Should be defined in math.h.  If not, we can add them to c99_math.h

And FWIW, the MSDN page [0] says that if you define _USE_MATH_DEFINES
before including math.h, these will be defined for you. Not sure what
versions of MSVC that applies to.

[0] https://msdn.microsoft.com/en-us/library/4hwaceh6.aspx


More information about the mesa-dev mailing list