* libc/include/cdefs.h (__has_extension): New define.

(__has_feature): Likewise.
	(__has_include): Likewise.
	(__has_builtin): Likewise.
	* libc/include/stdatomic.h: New.
This commit is contained in:
Corinna Vinschen
2013-06-07 09:14:39 +00:00
parent 6c860dfd25
commit af9f65e0c4
3 changed files with 353 additions and 0 deletions

View File

@ -650,4 +650,17 @@
#endif
#endif
#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
#endif /* !_SYS_CDEFS_H_ */