summaryrefslogtreecommitdiff
path: root/lib/xprintf.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-01-13 16:51:48 +0100
committerBruno Haible <bruno@clisp.org>2008-01-13 16:51:48 +0100
commit15834b98efed40c82ee182c367b636e1769cb62a (patch)
treeb3ac8e073bc07c82e8254983f6e5b41cfb0b02b0 /lib/xprintf.h
parentcba4b79039a1b852ce10a7b2be95e6e8d00ffea0 (diff)
downloadgnulib-15834b98efed40c82ee182c367b636e1769cb62a.tar.gz
Don't redefine __attribute__ without a need.
Diffstat (limited to 'lib/xprintf.h')
-rw-r--r--lib/xprintf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xprintf.h b/lib/xprintf.h
index 5340aa3b2b..d11e270e98 100644
--- a/lib/xprintf.h
+++ b/lib/xprintf.h
@@ -1,5 +1,5 @@
/* printf wrappers that fail immediately for non-file-related errors
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007-2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@
#ifndef __attribute__
/* This feature is available in gcc versions 2.5 and later. */
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
# define __attribute__(Spec) /* empty */
# endif
/* The __-protected variants of `format' and `printf' attributes