[Mesa3d-dev] [Bug 24318] Fix building of GLSL demos which use M_PI when M_PI is not defined by math.h

2009-10-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24318 Jon TURNEY jon.tur...@dronecode.org.uk changed: What|Removed |Added Attachment #30074|0 |1 is

[Mesa3d-dev] [Bug 24318] Fix building of GLSL demos which use M_PI when M_PI is not defined by math.h

2009-10-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24318 --- Comment #9 from Jon TURNEY jon.tur...@dronecode.org.uk 2009-10-24 10:17:59 PST --- Created an attachment (id=30659) -- (http://bugs.freedesktop.org/attachment.cgi?id=30659) Remove the various definitions of M_PI, except in compiler.h

[Mesa3d-dev] [Bug 24318] Fix building of GLSL demos which use M_PI when M_PI is not defined by math.h

2009-10-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24318 --- Comment #11 from Jon TURNEY jon.tur...@dronecode.org.uk 2009-10-24 10:24:29 PST --- Attached a couple of patches with an effort to do this better. As written, this falls back to explicitly defining M_PI using -D o the compiler command