Add MSVC preprocessor guards in test-clutter-cairo-flowers.c

This commit is contained in:
Haakon Sporsheim 2009-03-31 14:44:46 +02:00 committed by Neil Roberts
parent fa4a37072e
commit 94a571ea76

View File

@ -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