From f0f7cf524f1beaf227d8cce140abdf7c45efc8c6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 7 Oct 2019 14:00:54 +0200 Subject: [PATCH] gio: ignore the __attribute__(A) annotation introduced in glib-2.61.2 --- gio/gio.cabal | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/gio.cabal b/gio/gio.cabal index be64b529e..47a880a39 100644 --- a/gio/gio.cabal +++ b/gio/gio.cabal @@ -80,10 +80,10 @@ Library default-language: Haskell98 default-extensions: ForeignFunctionInterface - - cpp-options: -U__BLOCKS__ -Ubool + + cpp-options: -U__BLOCKS__ -Ubool -D__attribute__(A)= if os(darwin) || os(freebsd) - cpp-options: -D__attribute__(A)= -D_Nullable= -D_Nonnull= -D_Noreturn= + cpp-options: -D_Nullable= -D_Nonnull= -D_Noreturn= x-Signals-File: System/GIO/Signals.chs x-Signals-Modname: System.GIO.Signals