/* Libvisual-plugins - Standard plugins for libvisual * * Copyright (C) 2002, 2003, 2004, 2005 Dennis Smit * * Authors: Dennis Smit * * $Id: * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _OINK_COMMON_H #define _OINK_COMMON_H #include #include /* FIXME check this with configure */ #define inline __inline__ #define PI 3.14159265358979323846 #define MAX(a, b) (a > b ? a : b) #define MIN(a ,b) (a > b ? b : a) #define BYTETRUNC(a) ((a) > 255 ? 255 : (a)) #endif /* _OINK_COMMON_H */