From d2628954d9b7639382949d3b5e6a9bf138f54abc Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 1 Aug 2011 15:43:53 +0000 Subject: got everything building under MinGW svn path=/trunk/externals/unauthorized/; revision=15185 --- sonogram~.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'sonogram~.c') diff --git a/sonogram~.c b/sonogram~.c index 4085b34..18bf3c6 100644 --- a/sonogram~.c +++ b/sonogram~.c @@ -44,13 +44,16 @@ #endif #include #include -#ifdef UNIX -#include +#include + +#ifdef _WIN32 +# include +# define random rand #endif -#ifdef NT -#define M_PI 3.14159265358979323846 + +#ifndef _MSC_VER /* only MSVC doesn't have unistd.h */ +# include #endif -#include #include "m_pd.h" #include "m_imp.h" -- cgit v1.2.1