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
2 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue