summaryrefslogtreecommitdiff
path: root/navit/glib_slice.h
blob: bbc30c693cb14f7b14415a0b7f6ce5d3998bd08d (plain)
1
2
3
4
5
6
7
#include <glib.h>
#if GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 10
#define g_slice_alloc0 g_malloc0
#define g_slice_new0(x) g_new0(x,1)
#define g_slice_free(x,y) g_free(y)
#define g_slice_free1(x,y) g_free(y)
#endif