mirror of
https://github.com/matrix-construct/construct
synced 2024-06-09 21:48:55 +02:00
ircd: Add __has_feature / __has_cpp_attribute portable macros.
This commit is contained in:
parent
34061a7600
commit
855648de15
|
@ -27,6 +27,14 @@
|
||||||
#define __is_identifier(x) 0
|
#define __is_identifier(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __has_feature
|
||||||
|
#define __has_feature(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __has_cpp_attribute
|
||||||
|
#define __has_cpp_attribute(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Common branch prediction macros
|
// Common branch prediction macros
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue