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 --- cooled~/cooled~.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'cooled~') diff --git a/cooled~/cooled~.c b/cooled~/cooled~.c index 87b5a68..f0d966b 100644 --- a/cooled~/cooled~.c +++ b/cooled~/cooled~.c @@ -45,13 +45,17 @@ #include #include -#ifdef UNIX +#ifdef _WIN32 +#include +#define usleep(a) _sleep(a/1000) +#else #include #endif -#ifdef NT + +#include +#ifndef M_PI #define M_PI 3.14159265358979323846 #endif -#include #include "m_pd.h" #include "m_imp.h" -- cgit v1.2.1