#ifndef __INCLUDED_COMPILER_H__ #define __INCLUDED_COMPILER_H__ #ifndef HID_INTERNAL # error "this file is only supposed to be used from within libhid." #endif /* HID_INTERNAL */ #if defined __GNUC__ || defined SWIG # define UNUSED __attribute__((unused)) #else # define UNUSED #endif #endif /* __INCLUDED_COMPILER_H__ */ /* COPYRIGHT -- * * This file is part of libhid, a user-space HID access library. * libhid is (c) 2003-2005 * Martin F. Krafft * Charles Lepple * Arnaud Quette && * 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. */