[dovecot-cvs] dovecot/src/lib macros.h,1.18,1.19

tss at dovecot.org tss at dovecot.org
Sat Nov 18 14:05:16 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv25747

Modified Files:
	macros.h 
Log Message:
Define __attrs_used__ if the compiler actually supports attributes.



Index: macros.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/macros.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- macros.h	1 Nov 2006 19:19:35 -0000	1.18
+++ macros.h	18 Nov 2006 14:05:14 -0000	1.19
@@ -93,6 +93,7 @@
 
 /* Provide macros to feature the GCC function attribute. */
 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
+#  define __attrs_used__
 #  define __attr_format__(format_idx, arg_idx) \
 	__attribute__((format (printf, format_idx, arg_idx)))
 #  define __attr_format_arg__(arg_idx) \



More information about the dovecot-cvs mailing list