diff options
author | Max Kellermann <max@duempel.org> | 2013-10-15 22:04:17 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-15 22:47:39 +0200 |
commit | 509f8dab8946cfc311def89f62352c0881e73348 (patch) | |
tree | 913fbb714704bcffc0ca6b8f44cdfb293ec9ee24 /src/util/list_sort.c | |
parent | 77429b6dd35e23efac92630bab35d935b9496345 (diff) | |
download | mpd-509f8dab8946cfc311def89f62352c0881e73348.tar.gz mpd-509f8dab8946cfc311def89f62352c0881e73348.tar.xz mpd-509f8dab8946cfc311def89f62352c0881e73348.zip |
Util/Macros: replacement for GLib's G_N_ELEMENTS()
Diffstat (limited to 'src/util/list_sort.c')
-rw-r--r-- | src/util/list_sort.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/list_sort.c b/src/util/list_sort.c index ddf3208e9..8534f3360 100644 --- a/src/util/list_sort.c +++ b/src/util/list_sort.c @@ -24,12 +24,12 @@ #include "list_sort.h" #include "list.h" +#include "Macros.hxx" +#include "Compiler.h" -#include <glib.h> #include <string.h> -#define unlikely G_UNLIKELY -#define ARRAY_SIZE G_N_ELEMENTS +#define unlikely gcc_unlikely #define MAX_LIST_LENGTH_BITS 20 |