mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
libctf: fix __extension__ with non-GNU C compilers
We forgot to #define __extension__ to nothing in this case. libctf/ * ctf-impl.h [!__GNUC__] (__extension__): Define to nothing.
This commit is contained in:
parent
9c23dfa5aa
commit
469e75b621
@ -1,3 +1,7 @@
|
||||
2020-07-22 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
* ctf-impl.h [!__GNUC__] (__extension__): Define to nothing.
|
||||
|
||||
2020-07-22 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
* ctf-archive.c (ctf_archive_count): New.
|
||||
|
@ -65,6 +65,7 @@ extern "C"
|
||||
#define _libctf_unlikely_(x) (x)
|
||||
#define _libctf_unused_
|
||||
#define _libctf_malloc_
|
||||
#define __extension__
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user