aboutsummaryrefslogtreecommitdiff
path: root/pd/src/x_arithmetic.c
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-05-09 16:04:00 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-05-09 16:04:00 +0000
commit9c0e19a3be2288db79e2502e5fa450c3e20a668d (patch)
treeca97ce615e037a533304fc4660dcf372ca3b9cd6 /pd/src/x_arithmetic.c
parentef50dd62804d54af7da18d8bd8413c0dccd729b8 (diff)
This commit was generated by cvs2svn to compensate for changes in r610,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=611
Diffstat (limited to 'pd/src/x_arithmetic.c')
-rw-r--r--pd/src/x_arithmetic.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/pd/src/x_arithmetic.c b/pd/src/x_arithmetic.c
index f975f542..b7a94a2d 100644
--- a/pd/src/x_arithmetic.c
+++ b/pd/src/x_arithmetic.c
@@ -10,8 +10,8 @@ inputs to int and their outputs back to float. */
#include <math.h>
-/* NT and OSX don't appear to have single-precision ANSI math */
-#if defined(NT) || defined(MACOSX)
+/* MSW and OSX don't appear to have single-precision ANSI math */
+#if defined(MSW) || defined(MACOSX)
#define sinf sin
#define cosf cos
#define atanf atan
@@ -636,7 +636,7 @@ static void *exp_new(void)
static void exp_float(t_object *x, t_float f)
{
float g;
-#ifdef NT
+#ifdef MSW
char buf[10];
#endif
if (f > MAXLOG) f = MAXLOG;
@@ -665,7 +665,6 @@ static t_class *clip_class;
typedef struct _clip
{
t_object x_ob;
- t_outlet *x_out2;
float x_f1;
float x_f2;
} t_clip;
@@ -676,7 +675,6 @@ static void *clip_new(t_floatarg f1, t_floatarg f2)
floatinlet_new(&x->x_ob, &x->x_f1);
floatinlet_new(&x->x_ob, &x->x_f2);
outlet_new(&x->x_ob, &s_float);
- x->x_out2 = outlet_new(&x->x_ob, &s_float);
x->x_f1 = f1;
x->x_f2 = f2;
return (x);