diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-12 12:45:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-12 12:45:37 +0100 |
commit | da913877cd0f80ff05a19c4dbed935b21e4b860c (patch) | |
tree | dbd8b87305889fec537cc60adae5996877acc4ba /config.h.in | |
parent | b00d4cd3cc0e70e90f50a8fed294754a4c6e9475 (diff) | |
download | rspamd-da913877cd0f80ff05a19c4dbed935b21e4b860c.tar.gz rspamd-da913877cd0f80ff05a19c4dbed935b21e4b860c.zip |
[Minor] Adjust hashes
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 4 |
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 |