|
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 |