aboutsummaryrefslogtreecommitdiff
path: root/formant~.c
diff options
context:
space:
mode:
Diffstat (limited to 'formant~.c')
-rw-r--r--formant~.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/formant~.c b/formant~.c
index 686974b..67b442b 100644
--- a/formant~.c
+++ b/formant~.c
@@ -38,13 +38,12 @@
#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 */