aboutsummaryrefslogtreecommitdiff
path: root/samplebox~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-08-01 23:29:14 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit643db65912ac1b19cafc5e6a194828132029ba79 (patch)
tree60a26041fed52e63efa59cd0c2975fffa265fdfb /samplebox~.c
parentac7266a0e930bd947d9f22af43d9c222574fe1bd (diff)
replaced NT and UNIX macros with _WIN32 and _MSC_VER where appropriate
svn path=/trunk/externals/unauthorized/; revision=15192
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)";