summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-12 12:45:37 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-12 12:45:37 +0100
commitda913877cd0f80ff05a19c4dbed935b21e4b860c (patch)
treedbd8b87305889fec537cc60adae5996877acc4ba /config.h.in
parentb00d4cd3cc0e70e90f50a8fed294754a4c6e9475 (diff)
downloadrspamd-da913877cd0f80ff05a19c4dbed935b21e4b860c.tar.gz
rspamd-da913877cd0f80ff05a19c4dbed935b21e4b860c.zip
[Minor] Adjust hashes
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index c837500f6..f7bdedbfb 100644
--- a/config.h.in
+++ b/config.h.in
@@ -323,8 +323,12 @@ typedef off_t goffset;
# define RSPAMD_ALIGNED(x) __declspec(align(x))
#elif defined(__GNUC__)
# define RSPAMD_ALIGNED(x) __attribute__((aligned(x)))
+#ifndef __clang__
# define RSPAMD_OPTIMIZE(x) __attribute__((__optimize__ (x)))
#else
+# define RSPAMD_OPTIMIZE(x)
+#endif
+#else
# define RSPAMD_ALIGNED(x)
# define RSPAMD_OPTIMIZE(x)
#endif