i915g: Move definition of M_PI in i915_fpc_translate.c
authorJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 29 Jun 2011 11:43:11 +0000 (12:43 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 29 Jun 2011 13:29:26 +0000 (14:29 +0100)
commit8f0a331040fc6fa700ab2c5f96061844a2289599
treed2ad642f4c1ee4f6c2fa0f9acbded46d87b73969
parent475685ce5079877be5fc1fbcb8206dff4b79b0f3
i915g: Move definition of M_PI in i915_fpc_translate.c

Move defintion of M_PI (for the benefit of <math.h> which do not define it), to
before the first use of it

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/i915/i915_fpc_translate.c