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>
|
2007-10-12 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-script.c (construct_timline),
|
* clutter/clutter-script.c (construct_timline),
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#include <clutter/clutter.h>
|
#include <clutter/clutter.h>
|
||||||
|
|
||||||
|
#if defined (_MSC_VER) && !defined (_USE_MATH_DEFINES)
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user