summaryrefslogtreecommitdiff
path: root/gnulib/import/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/error.h')
-rw-r--r--gnulib/import/error.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gnulib/import/error.h b/gnulib/import/error.h
index bad47a16dd2..a351606f817 100644
--- a/gnulib/import/error.h
+++ b/gnulib/import/error.h
@@ -19,18 +19,6 @@
#ifndef _ERROR_H
#define _ERROR_H 1
-/* The __attribute__ feature is available in gcc versions 2.5 and later.
- The __-protected variants of the attributes 'format' and 'printf' are
- accepted by gcc versions 2.6.4 (effectively 2.7) and later.
- We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because
- gnulib and libintl do '#define printf __printf__' when they override
- the 'printf' function. */
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
-# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
-#else
-# define _GL_ATTRIBUTE_FORMAT(spec) /* empty */
-#endif
-
/* On mingw, the flavor of printf depends on whether the extensions module
* is in use; the check for <stdio.h> determines the witness macro. */
#ifndef _GL_ATTRIBUTE_SPEC_PRINTF