diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
commit | 85b77b81caa40f8bcd03921380246cb5863d5d21 (patch) | |
tree | cf4bc60a6760c52bcbd642a253b45f3bc5ad8775 /src/GlobalEvents.cxx | |
parent | 5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff) | |
download | mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip |
*: use gcc.h macros instead of GLib
Diffstat (limited to 'src/GlobalEvents.cxx')
-rw-r--r-- | src/GlobalEvents.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GlobalEvents.cxx b/src/GlobalEvents.cxx index 20faa9a81..e30090ef4 100644 --- a/src/GlobalEvents.cxx +++ b/src/GlobalEvents.cxx @@ -19,6 +19,7 @@ #include "config.h" #include "GlobalEvents.hxx" +#include "gcc.h" #include <atomic> @@ -47,7 +48,7 @@ InvokeGlobalEvent(GlobalEvents::Event event) } static gboolean -GlobalEventCallback(G_GNUC_UNUSED gpointer data) +GlobalEventCallback(gcc_unused gpointer data) { const unsigned flags = GlobalEvents::flags.exchange(0); |