Lines 17-22
Link Here
|
17 |
along with GAS; see the file COPYING. If not, write to |
17 |
along with GAS; see the file COPYING. If not, write to |
18 |
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
18 |
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
19 |
|
19 |
|
|
|
20 |
/* gcc uses __has_feature, while OS X libraries now use clang's __has_extension */ |
21 |
|
22 |
#ifndef __has_feature |
23 |
#define __has_feature(x) 0 |
24 |
#endif |
25 |
#ifndef __has_extension |
26 |
#define __has_extension __has_feature |
27 |
#endif |
28 |
|
29 |
#if __has_extension(attribute_deprecated_with_message) |
30 |
#ifndef DEPRECATED_ATTRIBUTE_MESSAGE |
31 |
#define DEPRECATED_ATTRIBUTE_MESSAGE(message) __attribute__((deprecated (message))) |
32 |
#endif |
33 |
#else |
34 |
#ifndef DEPRECATED_ATTRIBUTE_MESSAGE |
35 |
#define DEPRECATED_ATTRIBUTE_MESSAGE(message) __attribute__((deprecated)) |
36 |
#endif |
37 |
#endif |
38 |
|
20 |
#include <stdio.h> |
39 |
#include <stdio.h> |
21 |
#include <stdarg.h> |
40 |
#include <stdarg.h> |
22 |
#include <stdlib.h> |
41 |
#include <stdlib.h> |