mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 00:38:06 +02:00
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:
parent
5291f7ccad
commit
33403cfb37
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
*/
|
||||
|
||||
#include "cairo-perf.h"
|
||||
#define _USE_MATH_DEFINES /* for M_SQRT2 on win32 */
|
||||
#include <math.h>
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue