aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/build/src/ENV.c3
-rw-r--r--externals/build/src/bdiag~.c6
-rw-r--r--externals/build/src/bfft~.c1
-rw-r--r--externals/build/src/diag~.c5
-rw-r--r--externals/build/src/getenv.c3
-rw-r--r--externals/build/src/ibfft~.c1
-rw-r--r--externals/build/src/ifeel.c2
-rw-r--r--externals/build/src/junction~.c1
8 files changed, 19 insertions, 3 deletions
diff --git a/externals/build/src/ENV.c b/externals/build/src/ENV.c
index 8566c55c..45846b0f 100644
--- a/externals/build/src/ENV.c
+++ b/externals/build/src/ENV.c
@@ -1 +1,4 @@
+#ifdef WIN32
+#define setenv(a,b,c) _putenv(a)
+#endif
#include "../../cxc/ENV.c"
diff --git a/externals/build/src/bdiag~.c b/externals/build/src/bdiag~.c
index 1142b559..db188686 100644
--- a/externals/build/src/bdiag~.c
+++ b/externals/build/src/bdiag~.c
@@ -1,7 +1,7 @@
#ifndef __i386__
#define IS_DENORMAL(f) f
+#else
+#include "../../creb/include/extlib_util.h"
#endif
-/* this doesn't work on Mac OS X now <hans@eds.org> */
-#ifndef __APPLE__
+#include "../../../pd/src/d_mayer_fft.c"
#include "../../creb/modules/bdiag.c"
-#endif
diff --git a/externals/build/src/bfft~.c b/externals/build/src/bfft~.c
index e37e2685..dfe34cc4 100644
--- a/externals/build/src/bfft~.c
+++ b/externals/build/src/bfft~.c
@@ -1 +1,2 @@
+#include "../../../pd/src/d_mayer_fft.c"
#include "../../creb/modules/bfft.c"
diff --git a/externals/build/src/diag~.c b/externals/build/src/diag~.c
index 1dfe89a7..aca076fd 100644
--- a/externals/build/src/diag~.c
+++ b/externals/build/src/diag~.c
@@ -1,3 +1,8 @@
+#ifndef __i386__
+#define IS_DENORMAL(f) f
+#else
+#include "../../creb/include/extlib_util.h"
+#endif
#ifndef __APPLE__
#include "../../creb/modules/diag.c"
#endif
diff --git a/externals/build/src/getenv.c b/externals/build/src/getenv.c
index 2c1022ad..6ec426e9 100644
--- a/externals/build/src/getenv.c
+++ b/externals/build/src/getenv.c
@@ -1 +1,4 @@
+#ifdef WIN32
+#define setenv(a,b,c) _putenv(a)
+#endif
#include "../../motex/getenv.c"
diff --git a/externals/build/src/ibfft~.c b/externals/build/src/ibfft~.c
index e37e2685..dfe34cc4 100644
--- a/externals/build/src/ibfft~.c
+++ b/externals/build/src/ibfft~.c
@@ -1 +1,2 @@
+#include "../../../pd/src/d_mayer_fft.c"
#include "../../creb/modules/bfft.c"
diff --git a/externals/build/src/ifeel.c b/externals/build/src/ifeel.c
index 5cc70547..90d63975 100644
--- a/externals/build/src/ifeel.c
+++ b/externals/build/src/ifeel.c
@@ -1 +1,3 @@
+#ifndef NT
#include "../../hcs/ifeel.c"
+#endif
diff --git a/externals/build/src/junction~.c b/externals/build/src/junction~.c
index f2b2ea69..37703b6b 100644
--- a/externals/build/src/junction~.c
+++ b/externals/build/src/junction~.c
@@ -1 +1,2 @@
+#include "../../../pd/src/d_mayer_fft.c"
#include "../../creb/modules/junction.c"