From 469e75b621f6ee0b235d5dbe7566483d356d178d Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Tue, 2 Jun 2020 21:16:15 +0100 Subject: 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. --- libctf/ctf-impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libctf/ctf-impl.h') 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 -- cgit v1.1