From 85b77b81caa40f8bcd03921380246cb5863d5d21 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 23:48:01 +0200 Subject: *: use gcc.h macros instead of GLib --- src/db_error.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/db_error.h') diff --git a/src/db_error.h b/src/db_error.h index d3be582cf..05946aaf1 100644 --- a/src/db_error.h +++ b/src/db_error.h @@ -20,6 +20,8 @@ #ifndef MPD_DB_ERROR_H #define MPD_DB_ERROR_H +#include "gcc.h" + #include enum db_error { @@ -35,7 +37,7 @@ enum db_error { /** * Quark for GError.domain; the code is an enum #db_error. */ -G_GNUC_CONST +gcc_const static inline GQuark db_quark(void) { -- cgit v1.2.3