1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#ifndef __INCLUDED_COMPILER_H__
#define __INCLUDED_COMPILER_H__
#ifndef PHIDGETS_INTERNAL
# error "this file is only supposed to be used from within libphidgets."
#endif /* PHIDGETS_INTERNAL */
#if defined __GNUC__ || defined SWIG
# define UNUSED __attribute__((unused))
#else
# define UNUSED
#endif
#endif /* __INCLUDED_COMPILER_H__ */
/* COPYRIGHT --
*
* This file is part of libphidgets, a user-space library for phidgets.
* libhid is (c) 2003-2005
* Martin F. Krafft <libhid@pobox.madduck.net>
* Charles Lepple <clepple@ghz.cc>
* Arnaud Quette <arnaud.quette@free.fr> && <arnaud.quette@mgeups.com>
* and distributed under the terms of the GNU General Public License.
* See the file ./COPYING in the source distribution for more information.
*
* THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
* OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
|