Refresh 64-bit headers/libs (WW21)

Change-Id: I013af3ae4adac17d7b2ef5680d41d75dc9799d19
This commit is contained in:
Andrew Hsieh
2014-05-26 12:27:33 +08:00
parent f570883afa
commit 19f647e8a7
78 changed files with 1198 additions and 864 deletions

View File

@@ -37,6 +37,24 @@
#ifndef _SYS_CDEFS_H_
#define _SYS_CDEFS_H_
/*
* Testing against Clang-specific extensions.
*/
#ifndef __has_extension
#define __has_extension __has_feature
#endif
#ifndef __has_feature
#define __has_feature(x) 0
#endif
#ifndef __has_include
#define __has_include(x) 0
#endif
#ifndef __has_builtin
#define __has_builtin(x) 0
#endif
/*
* Macro to test if we're using a GNU C compiler of a specific vintage
* or later, for e.g. features that appeared in a particular version