aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-impl.h
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2020-06-02 21:16:15 +0100
committerNick Alcock <nick.alcock@oracle.com>2020-07-22 17:57:40 +0100
commit469e75b621f6ee0b235d5dbe7566483d356d178d (patch)
treea65ec6913ec4a462d8bc53a037ab3501169b1b16 /libctf/ctf-impl.h
parent9c23dfa5aa48c3ec94f643ce25a2b900ad0549c5 (diff)
downloadgdb-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.h1
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