From 4ce9f550f52f0656ce4ae5a8cda2caaf6b553aa7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 4 Dec 2013 13:52:58 +0000 Subject: [PATCH] Fix some broken glib packages (osx in particular). --- config.h.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.h.in b/config.h.in index e387d5d1c..bb8c0be1b 100644 --- a/config.h.in +++ b/config.h.in @@ -485,6 +485,16 @@ typedef off_t goffset; #include #endif +/* Some fixes for broken glib */ +#if defined(INT64_MAX) && INT64_MAX!= G_MAXINT64 +#undef int64_t +#define int64_t gint64 +#endif +#if defined(UINT64_MAX) && UINT64_MAX!= G_MAXUINT64 +#undef uint64_t +#define uint64_t guint64 +#endif + /* Forwarded declaration */ struct module_ctx; struct config_file; -- 2.39.5