From aa82236dd093743bd2973f8b61127582aaf6e96f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 18 Dec 2005 18:57:13 +0000 Subject: lots of MinGW fixes for RC6 svn path=/trunk/externals/unauthorized/; revision=4250 --- scratcher~/scratcher~.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'scratcher~/scratcher~.c') diff --git a/scratcher~/scratcher~.c b/scratcher~/scratcher~.c index 4448389..bd970a7 100644 --- a/scratcher~/scratcher~.c +++ b/scratcher~/scratcher~.c @@ -48,14 +48,18 @@ #include #include #include -#ifdef UNIX +#ifdef _WIN32 +#include +#include "timeval.h" +#else #include -#endif -#ifdef NT -#define M_PI 3.14159265358979323846 -#endif +#endif /* _WIN32 */ #include +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif /* not M_PI */ + #include "m_pd.h" #include "m_imp.h" #include "g_canvas.h" -- cgit v1.2.1