perf: Ensure M_SQRT2 is defined

pythagoras-tree uses M_SQRT2, which on Win32 is defined by math.h if
and only if _USE_MATH_DEFINES is defined.
This commit is contained in:
Andrea Canciani 2011-06-21 18:11:58 +02:00
parent 5291f7ccad
commit 33403cfb37

View file

@ -24,6 +24,7 @@
*/
#include "cairo-perf.h"
#define _USE_MATH_DEFINES /* for M_SQRT2 on win32 */
#include <math.h>
static void