From: Vsevolod Stakhov Date: Wed, 4 Dec 2013 13:52:58 +0000 (+0000) Subject: Fix some broken glib packages (osx in particular). X-Git-Tag: 0.6.2~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4ce9f550f52f0656ce4ae5a8cda2caaf6b553aa7;p=rspamd.git Fix some broken glib packages (osx in particular). --- 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;