mirror of
https://github.com/brl/mutter.git
synced 2025-02-12 19:34:10 +00:00
Add MSVC preprocessor guards in test-clutter-cairo-flowers.c
This commit is contained in:
parent
fa4a37072e
commit
94a571ea76
@ -4,9 +4,14 @@
|
|||||||
|
|
||||||
#include <clutter/clutter.h>
|
#include <clutter/clutter.h>
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#include <unistd.h> /* for sleep(), used for screenshots */
|
#include <unistd.h> /* for sleep(), used for screenshots */
|
||||||
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "math.h"
|
#ifdef _MSC_VER
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#define PETAL_MIN 20
|
#define PETAL_MIN 20
|
||||||
#define PETAL_VAR 40
|
#define PETAL_VAR 40
|
||||||
|
Loading…
x
Reference in New Issue
Block a user