From 643db65912ac1b19cafc5e6a194828132029ba79 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 1 Aug 2011 23:29:14 +0000 Subject: replaced NT and UNIX macros with _WIN32 and _MSC_VER where appropriate svn path=/trunk/externals/unauthorized/; revision=15192 --- samplebox~.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'samplebox~.c') diff --git a/samplebox~.c b/samplebox~.c index 64e656c..e18ef4d 100644 --- a/samplebox~.c +++ b/samplebox~.c @@ -40,14 +40,14 @@ #include #endif #include -#ifdef UNIX -#include -#endif -#ifdef NT -#define M_PI 3.14159265358979323846 -#endif #include +#ifdef _MSC_VER +# define M_PI 3.14159265358979323846 +#else +# include +#endif + #include "m_pd.h" /* standard pd stuff */ static char *samplebox_version = "samplebox~: stores and plays back a sound version 0.3, written by Yves Degoyon (ydegoyon@free.fr)"; -- cgit v1.2.1