compiler.h

Go to the documentation of this file.
00001 #ifndef __INCLUDED_COMPILER_H__
00002 #define __INCLUDED_COMPILER_H__
00003 
00004 #ifndef HID_INTERNAL
00005 #  error "this file is only supposed to be used from within libhid."
00006 #endif /* HID_INTERNAL */
00007 
00008 #if defined __GNUC__ || defined SWIG
00009 #  define UNUSED __attribute__((unused))
00010 #else
00011 #  define UNUSED
00012 #endif
00013 
00014 #endif /* __INCLUDED_COMPILER_H__ */
00015 
00016 /* COPYRIGHT --
00017  *
00018  * This file is part of libhid, a user-space HID access library.
00019  * libhid is (c) 2003-2005
00020  *   Martin F. Krafft <libhid@pobox.madduck.net>
00021  *   Charles Lepple <clepple@ghz.cc>
00022  *   Arnaud Quette <arnaud.quette@free.fr> && <arnaud.quette@mgeups.com>
00023  * and distributed under the terms of the GNU General Public License.
00024  * See the file ./COPYING in the source distribution for more information.
00025  *
00026  * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
00027  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
00028  * OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00029  */

Generated on Sun Mar 30 15:28:24 2008 for libhid by  doxygen 1.5.1