From 9c0e19a3be2288db79e2502e5fa450c3e20a668d Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Fri, 9 May 2003 16:04:00 +0000 Subject: 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 --- pd/src/x_arithmetic.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pd/src/x_arithmetic.c') 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 -/* 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); -- cgit v1.2.1