diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-06-02 21:16:15 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-07-22 17:57:40 +0100 |
commit | 469e75b621f6ee0b235d5dbe7566483d356d178d (patch) | |
tree | a65ec6913ec4a462d8bc53a037ab3501169b1b16 /libctf/ctf-impl.h | |
parent | 9c23dfa5aa48c3ec94f643ce25a2b900ad0549c5 (diff) | |
download | gdb-469e75b621f6ee0b235d5dbe7566483d356d178d.zip gdb-469e75b621f6ee0b235d5dbe7566483d356d178d.tar.gz gdb-469e75b621f6ee0b235d5dbe7566483d356d178d.tar.bz2 |
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.
Diffstat (limited to 'libctf/ctf-impl.h')
-rw-r--r-- | libctf/ctf-impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index 4661aa8..f832c71 100644 --- a/libctf/ctf-impl.h +++ b/libctf/ctf-impl.h @@ -65,6 +65,7 @@ extern "C" #define _libctf_unlikely_(x) (x) #define _libctf_unused_ #define _libctf_malloc_ +#define __extension__ #endif |