[Mesa-dev] [Bug 24318] Fix building of GLSL demos which use M_PI when M_PI is not defined by math.h
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 26 11:53:48 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=24318
--- Comment #14 from Jon TURNEY <jon.turney at dronecode.org.uk> 2010-04-26 11:53:49 PDT ---
(In reply to comment #11)
> Attached a couple of patches with an effort to do this better.
Refreshed patches for git master
> As written, this falls back to explicitly defining M_PI using -D o the compiler
> command line if it can't make math.h define it. This probably isn't a good
> idea.
Changed this so ./configure will fail with an error if we can't work out how to
get math.h to define M_PI
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list