[PATCH v3 2/7] malloc/obstack.h: Assume GCC supports __extension__

Alejandro Colomar alx@kernel.org
Mon Nov 10 14:17:28 GMT 2025


GCC supports __extension__ since at least GCC 2.8.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 malloc/obstack.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/malloc/obstack.h b/malloc/obstack.h
index 7e3dee21c8..1c74d85c9b 100644
--- a/malloc/obstack.h
+++ b/malloc/obstack.h
@@ -258,10 +258,6 @@ extern int obstack_exit_failure;
 #define obstack_memory_used(h) _obstack_memory_used (h)
 
 #if defined __GNUC__
-# if ! (2 < __GNUC__ + (8 <= __GNUC_MINOR__))
-#  define __extension__
-# endif
-
 /* For GNU C, if not -traditional,
    we can define these macros to compute all args only once
    without using a global variable.
-- 
2.51.0



More information about the Libc-alpha mailing list