aboutsummaryrefslogtreecommitdiff
path: root/samplebox~.c
diff options
context:
space:
mode:
Diffstat (limited to 'samplebox~.c')
-rw-r--r--samplebox~.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/samplebox~.c b/samplebox~.c
index 64e656c..e18ef4d 100644
--- a/samplebox~.c
+++ b/samplebox~.c
@@ -40,14 +40,14 @@
#include <malloc.h>
#endif
#include <ctype.h>
-#ifdef UNIX
-#include <unistd.h>
-#endif
-#ifdef NT
-#define M_PI 3.14159265358979323846
-#endif
#include <math.h>
+#ifdef _MSC_VER
+# define M_PI 3.14159265358979323846
+#else
+# include <unistd.h>
+#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)";