libcpp: Fix ATTR_LIKELY definition PR preprocessor/103355

Fix the definition of ATTR_LIKELY when __has_cpp_attribute is not
defined, as it is the case with old compilers such as gcc-4.8.5.

	libcpp/:
	PR preprocessor/103355
	* system.h (ATTR_LIKELY): Fix definition.
This commit is contained in:
Christophe Lyon 2021-11-23 16:06:42 +00:00
parent 8632f8c65d
commit 46d3cfd29d
1 changed files with 2 additions and 0 deletions

View File

@ -430,6 +430,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
# else
# define ATTR_LIKELY
# endif
#else
# define ATTR_LIKELY
#endif
/* Poison identifiers we do not want to use. */