- Add __MINGW_ATTRIB_UNUSED macro.

svn path=/trunk/; revision=48225
This commit is contained in:
Amine Khaldi 2010-07-24 09:52:46 +00:00
parent 74f12eeaf7
commit e7cebee706

View file

@ -116,6 +116,12 @@
#define __MINGW_ATTRIB_NONNULL(arg)
#endif /* GNUC >= 3.3 */
#ifdef __GNUC__
#define __MINGW_ATTRIB_UNUSED __attribute__ ((__unused__))
#else
#define __MINGW_ATTRIB_UNUSED
#endif /* ATTRIBUTE_UNUSED */
#if __MINGW_GNUC_PREREQ (3, 1)
#define __MINGW_ATTRIB_DEPRECATED __attribute__ ((__deprecated__))
#elif __MINGW_MSC_PREREQ(12, 0)