From 968e313857743435e662c831a8b29f50b20e0d41 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Mon, 27 Jan 2003 17:06:07 +0000 Subject: creb 0.7 svn path=/trunk/externals/creb/; revision=364 --- modules/abs.c | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) (limited to 'modules/abs.c') diff --git a/modules/abs.c b/modules/abs.c index 4d8b8eb..0cb3d4d 100644 --- a/modules/abs.c +++ b/modules/abs.c @@ -1,21 +1,6 @@ -/* - * abs.c - computes absolute value of a signal - * Copyright (c) 2000-2003 by Tom Schouten - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ + +// since this is present in a lot of libs, it is conditionally compiled +#ifdef HAVE_ABS_TILDE #include "m_pd.h" #include @@ -62,3 +47,5 @@ void abs_tilde_setup(void) class_addmethod(abs_class, (t_method)nullfn, &s_signal, A_NULL); class_addmethod(abs_class, (t_method)abs_dsp, gensym("dsp"), A_NULL); } + +#endif -- cgit v1.2.1