mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05: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>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <unistd.h> /* for sleep(), used for screenshots */
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include "math.h"
|
||||
#ifdef _MSC_VER
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
#include <math.h>
|
||||
|
||||
#define PETAL_MIN 20
|
||||
#define PETAL_VAR 40
|
||||
|
Loading…
Reference in New Issue
Block a user