diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-04 13:52:58 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-04 13:52:58 +0000 |
commit | 4ce9f550f52f0656ce4ae5a8cda2caaf6b553aa7 (patch) | |
tree | 6521e483138ac57d034b8801af8a5632534ea431 | |
parent | ca71631abf85ec2d2519517ba7e8e586f8a6394e (diff) | |
download | rspamd-4ce9f550f52f0656ce4ae5a8cda2caaf6b553aa7.tar.gz rspamd-4ce9f550f52f0656ce4ae5a8cda2caaf6b553aa7.zip |
Fix some broken glib packages (osx in particular).
-rw-r--r-- | config.h.in | 10 |
1 files changed, 10 insertions, 0 deletions
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 <gmime/gmime.h> #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; |