Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 290129
Collapse All | Expand All

(-)lib/stdio.in.h.dist (-3 / +3 lines)
Lines 49-62 Link Here
49
# include <sys/types.h>
49
# include <sys/types.h>
50
#endif
50
#endif
51
51
52
#ifndef __attribute__
52
#if !defined(__attribute__) || defined(__sgi)
53
/* This feature is available in gcc versions 2.5 and later.  */
53
/* This feature is available in gcc versions 2.5 and later.  */
54
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
54
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || !defined(__GNUC__) || defined(__sgi)
55
#  define __attribute__(Spec) /* empty */
55
#  define __attribute__(Spec) /* empty */
56
# endif
56
# endif
57
/* The __-protected variants of `format' and `printf' attributes
57
/* The __-protected variants of `format' and `printf' attributes
58
   are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
58
   are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
59
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
59
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || !defined(__GNUC__) || defined(__sgi)
60
#  define __format__ format
60
#  define __format__ format
61
#  define __printf__ printf
61
#  define __printf__ printf
62
# endif
62
# endif
(-)lib/error.h.dist (-3 / +3 lines)
Lines 18-31 Link Here
18
#ifndef _ERROR_H
18
#ifndef _ERROR_H
19
#define _ERROR_H 1
19
#define _ERROR_H 1
20
20
21
#ifndef __attribute__
21
#if !defined(__attribute__) || defined(__sgi)
22
/* This feature is available in gcc versions 2.5 and later.  */
22
/* This feature is available in gcc versions 2.5 and later.  */
23
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
23
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || !defined(__GNUC__) || defined(__sgi)
24
#  define __attribute__(Spec) /* empty */
24
#  define __attribute__(Spec) /* empty */
25
# endif
25
# endif
26
/* The __-protected variants of `format' and `printf' attributes
26
/* The __-protected variants of `format' and `printf' attributes
27
   are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
27
   are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
28
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
28
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || !defined(__GNUC__) || defined(__sgi)
29
#  define __format__ format
29
#  define __format__ format
30
#  define __printf__ printf
30
#  define __printf__ printf
31
# endif
31
# endif
(-)lib/vasnprintf.h.dist (-3 / +3 lines)
Lines 26-39 Link Here
26
/* Get size_t.  */
26
/* Get size_t.  */
27
#include <stddef.h>
27
#include <stddef.h>
28
28
29
#ifndef __attribute__
29
#if !defined(__attribute__) || defined(__sgi)
30
/* This feature is available in gcc versions 2.5 and later.  */
30
/* This feature is available in gcc versions 2.5 and later.  */
31
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
31
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || !defined(__GNUC__) || defined(__sgi)
32
#  define __attribute__(Spec) /* empty */
32
#  define __attribute__(Spec) /* empty */
33
# endif
33
# endif
34
/* The __-protected variants of `format' and `printf' attributes
34
/* The __-protected variants of `format' and `printf' attributes
35
   are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
35
   are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
36
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
36
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || !defined(__GNUC__) || defined(__sgi)
37
#  define __format__ format
37
#  define __format__ format
38
#  define __printf__ printf
38
#  define __printf__ printf
39
# endif
39
# endif

Return to bug 290129