0
0
Fork 0
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:
Jason Volk 2023-02-07 11:26:32 -08:00
parent 34061a7600
commit 855648de15

View file

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