Author: akhaldi
Date: Sat Jul 24 09:52:46 2010
New Revision: 48225
URL:
http://svn.reactos.org/svn/reactos?rev=48225&view=rev
Log:
[CRT]
- Add __MINGW_ATTRIB_UNUSED macro.
Modified:
trunk/reactos/include/crt/_mingw.h
Modified: trunk/reactos/include/crt/_mingw.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/_mingw.h?rev=4…
==============================================================================
--- trunk/reactos/include/crt/_mingw.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/_mingw.h [iso-8859-1] Sat Jul 24 09:52:46 2010
@@ -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)