aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
Diffstat (limited to 'libctf')
-rw-r--r--libctf/ChangeLog4
-rw-r--r--libctf/ctf-impl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 0be8280..642ed3f 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,5 +1,9 @@
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.
* libctf.ver: New public function.
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