[CRT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 24 Jul 2010 09:52:46 +0000 (09:52 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 24 Jul 2010 09:52:46 +0000 (09:52 +0000)
- Add __MINGW_ATTRIB_UNUSED macro.

svn path=/trunk/; revision=48225

reactos/include/crt/_mingw.h

index cff8112..3ab124d 100644 (file)
 #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)