From: Vsevolod Stakhov Date: Thu, 9 Jun 2016 16:32:47 +0000 (+0100) Subject: [Fix] Fix previous cherry-pick X-Git-Tag: 1.2.8~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ebe1ae54d3c8e2295af081dad28b835a69a75028;p=rspamd.git [Fix] Fix previous cherry-pick --- diff --git a/src/libutil/logger.c b/src/libutil/logger.c index 73d2ea6b6..5ae0ac50d 100644 --- a/src/libutil/logger.c +++ b/src/libutil/logger.c @@ -31,6 +31,12 @@ #define LOG_ID 6 #define RSPAMD_LOGBUF_SIZE 8192 +#if defined(__LP64__) || defined(_LP64) +#define XXH_ONESHOT XXH64 +#else +#define XXH_ONESHOT XXH32 +#endif + /** * Static structure that store logging parameters * It is NOT shared between processes and is created by main process