mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05:00
2007-10-12 Tomas Frydrych <tf@o-hand.com>
* tests/test-actors.c: When using MSVC, define _USE_MATH_DEFINES before including math.h, otherwise constants like M_PI will not be defined.
This commit is contained in:
parent
abc529aaec
commit
d9d10f4704
@ -1,3 +1,9 @@
|
||||
2007-10-12 Tomas Frydrych <tf@o-hand.com>
|
||||
|
||||
* tests/test-actors.c:
|
||||
When using MSVC, define _USE_MATH_DEFINES before including
|
||||
math.h, otherwise constants like M_PI will not be defined.
|
||||
|
||||
2007-10-12 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-script.c (construct_timline),
|
||||
|
@ -1,5 +1,9 @@
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#if defined (_MSC_VER) && !defined (_USE_MATH_DEFINES)
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user